Skip to content

When is client_secret validated? #91

Discussion options

You must be logged in to vote

For an authorization_code grant, a client_secret is required sometimes: It's not ever required on the authorization request, but it IS required on the token request IF the client has a secret assigned to it (making it a "confidential client"). However it's not necessary to assign client secrets to your clients for them to be able to use authorization_code grants, and if they don't have a secret assigned then they don't need to provide one. But if they do have one assigned, then they MUST use it in e.g. the token request.

See here: https://www.rfc-editor.org/rfc/rfc6749#section-4.1.3

If the client type is confidential or the client was issued client
credentials (or assigned other authenti…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@aliev
Comment options

aliev Aug 3, 2024
Maintainer

@shawn-monadical
Comment options

Answer selected by shawn-monadical
@shawn-monadical
Comment options

@aliev
Comment options

aliev Aug 3, 2024
Maintainer

@shawn-monadical
Comment options

@shawn-monadical
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants