[scim] What if created and lastModified are not populated in the app?

Pierre Ozoux <pierre@ozoux.net> Mon, 20 June 2022 10:31 UTC

Return-Path: <pierre@ozoux.net>
X-Original-To: scim@ietfa.amsl.com
Delivered-To: scim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF7FDC14CF1D for <scim@ietfa.amsl.com>; Mon, 20 Jun 2022 03:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H6zP-09ck-lV for <scim@ietfa.amsl.com>; Mon, 20 Jun 2022 03:31:15 -0700 (PDT)
Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8FB9C157B5D for <scim@ietf.org>; Mon, 20 Jun 2022 03:31:09 -0700 (PDT)
Received: (Authenticated sender: pierre@ozoux.net) by mail.gandi.net (Postfix) with ESMTPSA id EA6202000A for <scim@ietf.org>; Mon, 20 Jun 2022 10:31:06 +0000 (UTC)
Content-Type: multipart/alternative; boundary="------------BrV6By2gC0Fzps3pHqlt1PIC"
Message-ID: <35bed205-ae26-619d-d067-13250dac628d@ozoux.net>
Date: Mon, 20 Jun 2022 12:31:05 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
From: Pierre Ozoux <pierre@ozoux.net>
To: scim@ietf.org
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/wIpQyNKqeaEx-7OMjEl7zjhFKLI>
Subject: [scim] What if created and lastModified are not populated in the app?
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Simple Cloud Identity Management BOF <scim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/scim>, <mailto:scim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scim/>
List-Post: <mailto:scim@ietf.org>
List-Help: <mailto:scim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/scim>, <mailto:scim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jun 2022 10:31:19 -0000

Hi!


I'm implementing a scim service provider for the free software 
Nextcloud, but I miss 2 informations for users:

  - created

  - lastModified


Reading rfc7643 it says that:

       created  The "DateTime" that the resource was added to the service
          provider.  This attribute MUST be a DateTime.

       lastModified  The most recent DateTime that the details of this
          resource were updated at the service provider.  If this
          resource has never been modified since its initial creation,
          the value MUST be the same as the value of "created".

I also read: https://datatracker.ietf.org/doc/html/rfc3339 but there is 
no option for a standard but null date.


Should I set it to year 0000, or to beginning of unix epoch?


(I also searched the ML, but the tool to search is really slow, couldn't 
really use it.)

Thanks for your help and have a nice day!