[OAUTH-WG] Can i use domain name for oauth2 client id?

Viruthagiri Thirumavalavan <giridharanbtech@gmail.com> Sun, 28 August 2016 21:51 UTC

Return-Path: <giridharanbtech@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AFF612B030 for <oauth@ietfa.amsl.com>; Sun, 28 Aug 2016 14:51:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 (2048-bit key) header.d=gmail.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 Vksdj0yx6BET for <oauth@ietfa.amsl.com>; Sun, 28 Aug 2016 14:51:28 -0700 (PDT)
Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (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 A628512B00A for <oauth@ietf.org>; Sun, 28 Aug 2016 14:51:28 -0700 (PDT)
Received: by mail-oi0-x236.google.com with SMTP id f189so174282738oig.3 for <oauth@ietf.org>; Sun, 28 Aug 2016 14:51:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=6+awIvS3huV/hLWFzsqKHwEyfQokVe2ZXKr+iOmXOgo=; b=DbyDmFOO6BjZFApn1ImfGpgfFmmHnF5fNddD0ApE7AA9nCAQuV3qtsxLhwggx5no5N YgodLJaC9CIzGtMUmTmO78N6S/BOyNt4UVoj9ttHSeFmPNMtHH2g9Uyu/BZZ9R9400pe UeTCCoQBABcbWoOyPbLBXZBWgGpiyHX8OLlu8TYFTobA3o79Dh+7Bs93NH4KEuDiLylp lFshnQDf0YKFW6UEyVBmyVLZ0NVIsEiEXTNx/beJ+3Ah3VnJvyw3uNnzTZUuUmJbxB5a gKpgAN+dLyaO+Pkhx9MSNc0R9d4FDjuMiZKT1Hyir6Waw2j0N7FUdk7byU+2lQFdYD1L 1NVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6+awIvS3huV/hLWFzsqKHwEyfQokVe2ZXKr+iOmXOgo=; b=KFTqW491peCNi54QvNeTWBv1DTzfvHiC2kZ4itxmgjbJ7cbq2g4ELl2+UWu22jzcGW uIvCGNf8PUUsnHZc5kSNlVmpVC94fZFZgsaVf1gsrzBzhL80qGBV6JtUCExTi7E8o6SM kQ0nUzezku2OzOa8UDkZSX1h60NM42/dOY2A0kTeD5gjZY0Xohoe4W7DAlEgMvm0h58Z aJeaoCoELJaU6cK3dMG7B7FgwQRwgYMD+3ctXkV2G2dii7OR72rrFb77WKrQLMqMm+W2 GEN3YaJoOkh+UAt6+lCbb9sK3wM2FgTvNcb+5XzEOHGwRM/epAkaXw8LeN7y5nD3HNt/ IamQ==
X-Gm-Message-State: AE9vXwO4c5Imcoxnfd0lUbA71Umw4mCorzKyFmUcPxFMAq7KQ3GOzCq+x6oN3zL5bUa/tFzOLxkthtP+WbnvWQ==
X-Received: by 10.202.227.84 with SMTP id a81mr8591160oih.57.1472421087885; Sun, 28 Aug 2016 14:51:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.221.69 with HTTP; Sun, 28 Aug 2016 14:51:07 -0700 (PDT)
From: Viruthagiri Thirumavalavan <giridharanbtech@gmail.com>
Date: Mon, 29 Aug 2016 03:21:07 +0530
Message-ID: <CALL5ZAsgxZo30bbzk18aHDOaZiLVp27ZEWPtf+LrOgzwdbvEVw@mail.gmail.com>
To: oauth@ietf.org
Content-Type: multipart/alternative; boundary="001a11408d96e740ed053b28bfc7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/tHMOiQ-2Udy4JuhYkGZMoEvwAKE>
X-Mailman-Approved-At: Mon, 29 Aug 2016 08:26:50 -0700
Subject: [OAUTH-WG] Can i use domain name for oauth2 client id?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 21:52:43 -0000

I'm working on a OAuth2 server project. Can I use domain name for
generating client_id ?

Ex: For instance if Google registering an app in my server, then the
client_id will be google.com

Am i allowed to use dots in client_id? Is it wise to use domain name as
client_id ? what are the drawbacks?
Thanks
-- 
Regards,
Giri