koa-oauth-server icon indicating copy to clipboard operation
koa-oauth-server copied to clipboard

should password grant type require client_secret?

Open babsonmatt opened this issue 10 years ago • 1 comments

One would think that would be optional since user/password are being used to auth and the fact that the secret would be exposed? New to oauth, apologies if I'm mistaken!

babsonmatt avatar Feb 25 '15 04:02 babsonmatt

Just following the spec, from: https://tools.ietf.org/html/rfc6749#section-4.3.2

If the client type is confidential or the client was issued client credentials (or assigned other authentication requirements), the client MUST authenticate with the authorization server as described in Section 3.2.1.

thomseddon avatar May 10 '15 17:05 thomseddon