Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-25 Thread Sergey Beryozkin
mailto:oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] *On Behalf Of *Phil Hunt *Sent:* Wednesday, April 24, 2013 3:55 PM *To:* John Bradley *Cc:* oauth@ietf.org mailto:oauth@ietf.org WG *Subject:* Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method Right

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-25 Thread John Bradley
...@ietf.org] On Behalf Of Phil Hunt Sent: Wednesday, April 24, 2013 3:55 PM To: John Bradley Cc: oauth@ietf.org WG Subject: Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method Right and if the client wants a method not supported then what? Why can't

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-25 Thread Justin Richer
John, I don't think that anybody's actually suggesting that we add server discovery in here. :) But since the server does echo back the configuration in its response, the client is discovering a few things at run time about what it can and can't do with a particular server. It's entirely

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-25 Thread Phil Hunt
I am not sure what to think about this. 1. I don't want this spec to be incomplete because there is another external spec published for a specific purpose. 2. In general i would like to avoid negotiations. It seems to me that any developer making a client for a mutli-site deployed service

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-25 Thread Justin Richer
On 04/25/2013 12:23 PM, Phil Hunt wrote: I am not sure what to think about this. 1. I don't want this spec to be incomplete because there is another external spec published for a specific purpose. If we needed a registry we could define it in this spec. If we chose a non-registry method

[OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Phil Hunt
For parameters to token_endpoint_auth_method, the spec has defined client_secret_jwt and private_key_jwt. Shouldn't there be similar options of SAML? Shouldn't there be an extension point for other methods? Phil @independentid www.independentid.com phil.h...@oracle.com

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread John Bradley
Yes there should be corresponding client_secret_SAML and private_key_SAML. Those parameters were taken from Connect which is more JWT focused so I didn't put in the SAML options for token endpoint authentication, though they would be valid. There is probably some profiling that needs to be

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Justin Richer
Seems reasonable to me, can you suggest language to add in the capability? Would it require an IANA registry? Right now there isn't any other place that enumerates the various methods that a client can use to access the token endpoint. -- Justin On 04/24/2013 04:17 PM, Phil Hunt wrote: For

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Phil Hunt
Hmmm… what was the objective or use case for having the client being able to choose in the first place? It seems to me that the AS will make a decision based on many factors. As you say, there isn't any other place that enumerates the various [authn] methods a client can use to access the

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread John Bradley
In Connect the AS may support a number of token endpoint authentication methods. The reason to allow a client to register using a particular one is to prevent downgrade attacks. If the client wants to always use an asymmetric signature you don't want to allow attackers to use weaker methods

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Phil Hunt
Right and if the client wants a method not supported then what? Why can't the client offer up a list of methods it is able to support, say in order of preference? The text appears to indicate only one value may be passed. Given the way it is written. It seems better to just have the server say

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Mike Jones
Cc: oauth@ietf.org WG Subject: Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method Right and if the client wants a method not supported then what? Why can't the client offer up a list of methods it is able to support, say in order of preference? The text

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread John Bradley
In Connect there is a AS discovery before registration. The general pattern is the RP discovers the capabilities of the AS authentication methods and algorithms supported by the AS. The client then picks the best options for it and registers them. It would in theory work of the client

Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09 - token_endpoint_auth_method

2013-04-24 Thread Phil Hunt
. -- Mike From: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of Phil Hunt Sent: Wednesday, April 24, 2013 3:55 PM To: John Bradley Cc: oauth@ietf.org WG Subject: Re: [OAUTH-WG] Questions on draft-ietf-oauth-dyn-reg-09