[scim] How to check isUsernameExist for Self Sign Up

Gayan Gunawardana <gayan@wso2.com> Thu, 02 February 2017 18:18 UTC

Return-Path: <gayan@wso2.com>
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 70DDC1298CE for <scim@ietfa.amsl.com>; Thu, 2 Feb 2017 10:18:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=wso2.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZEhQVhFix223 for <scim@ietfa.amsl.com>; Thu, 2 Feb 2017 10:18:23 -0800 (PST)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 570EB12994F for <scim@ietf.org>; Thu, 2 Feb 2017 10:18:16 -0800 (PST)
Received: by mail-wm0-x22d.google.com with SMTP id c85so102729496wmi.1 for <scim@ietf.org>; Thu, 02 Feb 2017 10:18:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=U8bKa6p5MrtXFDZF7qX2vuLBhsaAxqslueXLGBQT8ZU=; b=bY19COKllJ9MHAvdoY23mgDpNwkb96M3ccOfPsPqN05w5q6Qjsafj6Y7I2tp10Tvax N12bXUUBr2aAM/WNHQ+MaHFmGngkKlLv/Z4guPcfUzu3+4CL55a8rHTK+RjybFTVs0Uw x5EI0jhMYJnQtd/+r8OwTYakqlbroIlIY5dbU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=U8bKa6p5MrtXFDZF7qX2vuLBhsaAxqslueXLGBQT8ZU=; b=CFJSeNIMxBgGuc3IyB4XdV60V7wXtPPcDgWbDm10X3IrkjDeD2OPRUivMtPOWMXyiR Junm8wyn1aO+RDsRZX4eSzl/YbtVzFx35gp1OSrBw5CJ8nHuD8amZjT/Rgbn5Tad5VQB y9OOHB20YZlSrgIxq6u0LiGmJGXv3KEeVID5HTJuy3mRV9KTI2L1ELvhLAeT2AOKdc9R BykItFcUQBW8FeXnaX7tDMxiOdaKatk5I0lN72XoJyPNMk/IPUB6SYLt4HgmrTxZN/so K9tmGU4kZD6tlGIk4zhnoKZkpv8MGZRj4IaxWXTp70w/UJppd9EulKsYxlj2bXgmt15p VVJg==
X-Gm-Message-State: AIkVDXILEQbblQZciRziVyAz/hfhQBXTtAqkaOpPrZh5ERx60kfh2ENRQL3xGgGprgcXRRket6P12WnkO9wEnh8P
X-Received: by 10.28.24.5 with SMTP id 5mr8714201wmy.1.1486059494690; Thu, 02 Feb 2017 10:18:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.134.169 with HTTP; Thu, 2 Feb 2017 10:18:14 -0800 (PST)
From: Gayan Gunawardana <gayan@wso2.com>
Date: Thu, 02 Feb 2017 23:48:14 +0530
Message-ID: <CALzgRADp+vQfzQT9MEHWKiLJWH4kaSKtCUHDBOot79y18xyV0g@mail.gmail.com>
To: scim@ietf.org
Content-Type: multipart/alternative; boundary="001a114690584bec650547903018"
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/sqxNoq9_-IqtRBtqYBQfmF90510>
Subject: [scim] How to check isUsernameExist for Self Sign Up
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 02 Feb 2017 18:18:24 -0000

Hello,

According to [1] self sign up can be achieved via sending authenticated
request to /Me.

What is the proper way to check isUsernameExist before self sign up ?

[1]https://tools.ietf.org/html/rfc7644#section-3.11

Thanks,
Gayan
-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: gayan@wso2.com
Mobile: +94 (71) 8020933