Skip to content

Handle OAuth2AccessTokenErrorResponse exception when attempting to parse access token. - #138

Open
mribbons wants to merge 2 commits into
fullstackreact:masterfrom
mribbons:AuthCodeFlowInvalidSecret
Open

mribbons wants to merge 2 commits into
fullstackreact:masterfrom
mribbons:AuthCodeFlowInvalidSecret

Conversation

@mribbons

@mribbons mribbons commented Aug 7, 2017

Copy link
Copy Markdown
Contributor

This occurs in AuthorizationCode flow when the client secret is
incorrect and the server returns invalid_client.

Without this exception handling, authorization attempt fails silently.

mribbons added 2 commits July 31, 2017 14:56
to parse access token.

This occurs in AuthorizationCode flow when the client secret is
incorrect and the server returns invalid_client.
in invalid_secret scenario. Report error using callback, consumer will receive
{"error":"invalid_secret"} rather than silent failure with no error
callback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant