Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Loopback IP address auth flow instead of deprecated OOB #231

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

skangas
Copy link
Contributor

@skangas skangas commented Dec 31, 2022

This should fix the authorization flow, as discussed in #215. @tohojo already did all the heavy lifting and wrote up a patch, so I just tested that it works and made this pull request.

I would have actually preferred to put the commit in Toke's name, but I didn't want to do so without his consent. Instead, I acknowledge him in a Co-authored-by tag in the commit message. If Toke prefers, I'm obviously happy to make him the author instead. (My own changes were minimal.)

The patch works here, but more testing is obviously welcome.

For reference, see:
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

@gauteh
Copy link
Owner

gauteh commented Dec 31, 2022

Great! @tohojo do you wish to be Author: ?

@tohojo
Copy link
Contributor

tohojo commented Dec 31, 2022

I'm okay with co-authored-by; thanks for turning this into a proper PR! :)

@gauteh gauteh merged commit a4ab209 into gauteh:master Dec 31, 2022
@gauteh
Copy link
Owner

gauteh commented Dec 31, 2022

Thanks, merged. Maybe instructions need to be updated as well? Does this close the auth issue?

@skangas
Copy link
Contributor Author

skangas commented Dec 31, 2022

Thanks, merged. Maybe instructions need to be updated as well? Does this close the auth issue?

I believe it does, or at least everything is now working on my end. I took a look at the README and everything there looks good to me from a cursory look.

@gauteh
Copy link
Owner

gauteh commented Dec 31, 2022 via email

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.

None yet

3 participants