Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: prevent infinite redirect oauth auth flow #10430

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

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Oct 30, 2023

"Sorry there has been a problem" is just a placeholder for the actual error.

Peek.2023-10-30.11-24.webm

Actual error message

Screenshot from 2023-10-30 11-37-57

@Emyrk
Copy link
Member Author

Emyrk commented Oct 30, 2023

@ericpaulsen @kylecarbs we need something like this to prevent the infinite authentication loop. The one thing I cannot test is the "device auth flow", that might still redirect? Not sure how that flow works though.

The other solution I thought of is just to make 2 FE pages instead of using the query param.

@Emyrk Emyrk marked this pull request as ready for review October 30, 2023 16:58
@Emyrk Emyrk requested a review from kylecarbs October 30, 2023 18:11
@Emyrk Emyrk merged commit 9d2b805 into main Oct 30, 2023
@Emyrk Emyrk deleted the stevenmasley/oauth_validate_url branch October 30, 2023 19:45
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants