Re: [OAUTH-WG] Auth Server / Resource Server Coordination

Bill Mills <wmills_92105@yahoo.com> Tue, 13 October 2015 14:43 UTC

Return-Path: <wmills_92105@yahoo.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBE4F1B44DD for <oauth@ietfa.amsl.com>; Tue, 13 Oct 2015 07:43:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.209
X-Spam-Level:
X-Spam-Status: No, score=-2.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 vY3rEYBCZDDJ for <oauth@ietfa.amsl.com>; Tue, 13 Oct 2015 07:43:51 -0700 (PDT)
Received: from nm33-vm7.bullet.mail.bf1.yahoo.com (nm33-vm7.bullet.mail.bf1.yahoo.com [72.30.239.207]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BEF71B44E1 for <oauth@ietf.org>; Tue, 13 Oct 2015 07:43:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1444747429; bh=Frnoh9xHVsfUGt3DwvFGeRYrAhraZOlrju3Qv+PFqmw=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=jX/i20gKlFz2q8wOX6WV8bBZz1GXpzXcF27x5BpD4dBImZlisZmUmCFRoVgMU4jQeeLG1GMi8bE9NVCWzJ/SRH7jsMkPKAQ/dBg/AGC5aHl1YAFla5/SFbSI+8jlCvEvlaBsOXAQruePhdmEZUyPh/kitbhb+Cc/vT/wkUu7Jef6XpgFe7pZjA7WGTBWvmOQmay3BQJ9fVsz21Y81SOFWbbH/I+AcAwzU2iGS+hV6+55SIIW7ADXMOSWAscAAWWzB8AHKT0yjnCZeNIuzbGuaRWwpA5LeMOVLh5AyTRrxjBu2Qb4NXq+O+QDoMwO2uSkBTPW1+NHDdK63kQqE6crAQ==
Received: from [98.139.170.178] by nm33.bullet.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 14:43:49 -0000
Received: from [98.139.212.247] by tm21.bullet.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 14:43:49 -0000
Received: from [127.0.0.1] by omp1056.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 14:43:48 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 989294.1962.bm@omp1056.mail.bf1.yahoo.com
X-YMail-OSG: DEZhbJcVM1l2y0hnUdogXuxPXxL7IRrDcDokjxuBDDH1sINfcs03htzZRHqcGs. TuJHuNh3Gm3BPObuBHrJC6DgDaYAzzJvtu6BwZrodAYdS122qf_fw2KhfU_A7JuBTn6vKNsd_bKh HtUHZgoB07ES_eYC7IyEAZMHqphLag8FQQoEG3WjVVuPIQLHq5Dz8Uk9Ik1_V4RmFkLngYBfS2Mi FOICcN_C_4HZ.7mhevcGcrtnnvLYBXc2yrjlQGQ_82i8vNeWHRJDxbBU4LZcPGjKPqhABe_JfB3J KjmkWtEeA0HeVFXc1e4s4o6nt7LFn4TZy6Emnh6TjZR_zBaVzmKLCCHOgSgi0DrFEBZazYUr3Fgv vmqvQW3j2lGPxNY0xi6G15AjKdBtce9rE7_gHCnnep2dBUcCPc89u_A7hdjXuWfkW1TNUgxo7KgL SC_5kjLoqjqU716VH.2hv5pwKc1ZjS0ycfMRG4lTXwMD.rsCbE8lr5FDa6mXS5eyv0lNhQ1_NDUH HyDMOwtTfzDVv4PUoS_Hw1oXWf0g0.F_N3KztosTF8AvhspsG0DfV9sN.vI0uS40-
Received: by 76.13.26.66; Tue, 13 Oct 2015 14:43:48 +0000
Date: Tue, 13 Oct 2015 14:43:48 +0000
From: Bill Mills <wmills_92105@yahoo.com>
To: Jim Manico <jim@manicode.com>, Ofer Nave <odigity@gmail.com>
Message-ID: <1486213736.2998244.1444747428107.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <751A2989-38CD-4360-A691-980AA8DE58A8@manicode.com>
References: <751A2989-38CD-4360-A691-980AA8DE58A8@manicode.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_2998243_1006340133.1444747428103"
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/yMfVTGb_mSpY_FEB8uf7jks8NEk>
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Auth Server / Resource Server Coordination
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Bill Mills <wmills_92105@yahoo.com>
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: Tue, 13 Oct 2015 14:43:54 -0000

Centralizing the user auth yes, it doesn't even have to be multiple types of RS for this to win.  It reduces your attack surface and allows your auth stack to be separate from your app stack are two of the good things.  Auth is a specialized thing and hard to do right, and pulling it down to a much smaller pool of machines than your main application servers lets you more easily see and deal with abuse. 


     On Monday, October 12, 2015 9:36 PM, Jim Manico <jim@manicode.com> wrote:
   

 This seems like a reasonable approach. Isn't the whole idea of the auth server/resource server separation in OAuth 2.0 so that one auth server can govern multiple resource servers?

--
Jim Manico
@Manicode

> On Oct 13, 2015, at 6:13 AM, Ofer Nave <odigity@gmail.com> wrote:
> 
> I know the OAuth 2.0 RFC doesn't specify any standards for coordination between the Authorization Server and the Resource Server, as it's generally assumed that both will be owned or operated by the same entity.
> 
> However, I'm building an OAuth 2.0 Auth Server, and I'd like to add a feature to make it easy for other API developers to delegate to me the responsibility of handling the auth grant process and issuing access tokens.
> 
> It seems to me that a simple version of this could be easily done by:
> 
> 1) Defining an Access Token format that contains within it everything a Resource Server will need to validate it and determine the level of access granted (list of scopes, expiration datetime, HMAC signature using a shared secret).
> 
> 2) Providing a means (basic web UI) for Resource Server owners to register a set of scopes for their service, along with user-understandable descriptions of each to display when they arrive at my Authorization Endpoint.
> 
> While I've read the relevant RFCs, I'm new to the OAuth domain, and would appreciate any feedback. Is this a stupid idea?  Is this a good idea, but redundant with another standard I'm not aware of?
> 
> -ofer
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth