Skip to content

OAuth2 client credentials are passed in a non standard way #360

Discussion options

You must be logged in to vote

Hi Royi!

Nothing non-standard about how the credentials are transferred — encoding client_id and client_secret in a basic auth Authorization header is in fact the method preferred by the OAuth spec:

Including the client credentials in the request content using the two parameters is NOT RECOMMENDED and SHOULD be limited to clients unable to directly utilize the HTTP Basic authentication scheme (or other password-based HTTP authentication schemes).

Your token server should know this, but if that's not the case, your workaround seems like a reasonable one to me.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@royi-frontegg
Comment options

@anderseknert
Comment options

@royi-frontegg
Comment options

Answer selected by anderseknert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants