Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Handles OAuth2.Error - #19

Merged
jaimeiniesta merged 1 commit into
developfrom
handle-oauth-errors
Aug 9, 2019
Merged

Handles OAuth2.Error#19
jaimeiniesta merged 1 commit into
developfrom
handle-oauth-errors

Conversation

@jaimeiniesta

Copy link
Copy Markdown
Contributor

The OAuth library can return also this, and not only an OAuth2.Response:

https://hexdocs.pm/oauth2/0.9.4/OAuth2.Client.html#get_token/4

This patch adds handling for both cases of error result.

The OAuth library can return also this, and not only an OAuth2.Response:
https://hexdocs.pm/oauth2/0.9.4/OAuth2.Client.html#get_token/4
This patch adds handling for both cases of error result.
@jaimeiniesta
jaimeiniesta merged commit baa5fc1 into developAug 9, 2019
@jaimeiniesta
jaimeiniesta deleted the handle-oauth-errors branch August 9, 2019 11:26
@jaimeiniesta
jaimeiniesta restored the handle-oauth-errors branch August 9, 2019 11:26
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jaimeiniesta@eparreno