Re: [OAUTH-WG] Can i use domain name for oauth2 client id?
Viruthagiri Thirumavalavan <giridharanbtech@gmail.com> Mon, 29 August 2016 16:55 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 115FC12B005 for <oauth@ietfa.amsl.com>; Mon, 29 Aug 2016 09:55:38 -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 xaDEDI6q5ozP for <oauth@ietfa.amsl.com>; Mon, 29 Aug 2016 09:55:36 -0700 (PDT)
Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 7D22D12D098 for <oauth@ietf.org>; Mon, 29 Aug 2016 09:55:36 -0700 (PDT)
Received: by mail-oi0-x22a.google.com with SMTP id c15so204152002oig.0 for <oauth@ietf.org>; Mon, 29 Aug 2016 09:55:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OjwQk4D75naLU6YAIhtrjCy188852BA3Xn0dazNCDfk=; b=sTZA/977xflCFvjj1HaQWRyRJNbqjIaOFvjCWHbbVxAKpPvSqD5OOMov6fH5g65HUE lCwRAeoAbbQa9ff3IBPPZpjqYY2+OF1xb7+a4A2F8GDGa6LhKdXMU1tFSlkf56qoyCuE s8ZnJP8HPp1joCGULRCv/NgvyFcoTRNCpw0iAOmeSTmXoPbYkvPFYv6OkVQQGCgMADVV Fiym5YxRmItkVRrfjmWvjC6UlRn26qu2LqJzpDFFffQjj+2Fk1zfHpJC14eX9ikKa+c0 43b+/9W9AZqWPzrIYRerYpnRazwp2x6X07P+LBSD3PwVZO/wDvNiaHYP9vIGWaOcjSyc QYOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OjwQk4D75naLU6YAIhtrjCy188852BA3Xn0dazNCDfk=; b=U1YRgyltgeutdeAV/cWihHUuUK6azJ5hUGKQJh7OOZoCNIZBMp23xKI4jJ12mCcVTF ljoiOLgq05RZSrgZp5OQQGAtJt1kD6fbMBkgwIuXwVDvtWuJCI5/LbPDXEqKGcn9hmMg r47sm6F6STLAf92/duN1QSusiK+L170HWtPSSkcaz+emHcX59JmKNDRJDkwjJnt9/DcM SB65UboRqETlrRxctYYibzXOV2wU2Az11W4pK5Pdv8c5Fe7wTuEDrspU9s42F7vkCzCB gGybjrSetJR4/XPO8mJdrJqNN8miPYkAdCYMDw5meLH3lmUhFvY+vP0o+KmgUT9JUk29 Z47A==
X-Gm-Message-State: AE9vXwPucc5KfGSFflTN37siio+049knP4TxXtjrWfpy0NMyx7XhZQfRPheisSF6XUbs639mSDjlnBnXJslsTQ==
X-Received: by 10.202.184.136 with SMTP id i130mr13718349oif.153.1472489735870; Mon, 29 Aug 2016 09:55:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.108.136 with HTTP; Mon, 29 Aug 2016 09:55:15 -0700 (PDT)
In-Reply-To: <50F0DFCB-31D3-47F8-BC0E-3D52383ACECA@mit.edu>
References: <CALL5ZAsgxZo30bbzk18aHDOaZiLVp27ZEWPtf+LrOgzwdbvEVw@mail.gmail.com> <50F0DFCB-31D3-47F8-BC0E-3D52383ACECA@mit.edu>
From: Viruthagiri Thirumavalavan <giridharanbtech@gmail.com>
Date: Mon, 29 Aug 2016 22:25:15 +0530
Message-ID: <CALL5ZAvb4yGJw0TeEKi7BsLCd8JCD3mqrEV0TtSK_j3Hi3XnJQ@mail.gmail.com>
To: Justin Richer <jricher@mit.edu>
Content-Type: multipart/alternative; boundary="001a113cd53ea45df2053b38bb5f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/nCZ0YlFTbqk9LHURldppdwMT-30>
X-Mailman-Approved-At: Wed, 31 Aug 2016 06:56:19 -0700
Cc: "<oauth@ietf.org>" <oauth@ietf.org>
Subject: Re: [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: Mon, 29 Aug 2016 16:55:38 -0000
Thanks Justin. I just need a way to identify client_id. I'm planning to use 15 char for client_id. Can I use first 3 char of domain and then random number for client ID for the rest 12 char? I mean something like GOO123456789123 for Google. Thanks On Mon, Aug 29, 2016 at 9:26 PM, Justin Richer <jricher@mit.edu> wrote: > Dots are legal in a client ID (as per the spec), and there’s nothing > inherently wrong with a client ID that’s a domain name. However, how can > you be sure it’s google that gets the client ID “google.com”? And what if > Google wants to have two clients? > > In many implementations (including ours from MIT ITC), the client ID is > random (we use a type 4 UUID) and we’ve got a separate field for > human-readable names (client_name, defined in the dynamic registration > specification). > > — Justin > > On Aug 29, 2016, at 12:51 AM, Viruthagiri Thirumavalavan < > giridharanbtech@gmail.com> wrote: > > 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 > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth > > > -- Regards, Giri
- [OAUTH-WG] Can i use domain name for oauth2 clien… Viruthagiri Thirumavalavan
- Re: [OAUTH-WG] Can i use domain name for oauth2 c… Justin Richer
- Re: [OAUTH-WG] Can i use domain name for oauth2 c… Viruthagiri Thirumavalavan