Skip to content

Added Google compatibility and Accept header - #33

Open
asawicki96 wants to merge 1 commit into
ICS-MU:masterfrom
asawicki96:master
Open

Added Google compatibility and Accept header#33
asawicki96 wants to merge 1 commit into
ICS-MU:masterfrom
asawicki96:master

Conversation

@asawicki96

Copy link
Copy Markdown

There is some difference in Google implementation of Device flow.
Basically they return "verification_url" instead of "verification_uri" in the response with the code.

Some of providers like Github also require to append proper "Accept: ..." header and because the PAM expects
JSON format I added the "Accept: application/json" header to the requests.

NOTE: it is tested only for Google integration manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant