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

Fix infinite loop of redirects on Google Sign-In #4

Merged
merged 7 commits into from
Mar 24, 2022

Conversation

akahenry
Copy link

@akahenry akahenry commented Mar 23, 2022

Description

The Google onSuccess callback was creating a polling to verify the authentication of the user. Also, the GoogleLogin component was using the isSignedIn=true, which calls the onSuccess callback every time it loads. This PR removes these two iterations, dealing with the authentication only once.

**Also, this PR has some refactoring (used auto format).

@akahenry akahenry added the bug Something isn't working label Mar 23, 2022
Copy link

@gabrielcastrosilva gabrielcastrosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@gabrielcastrosilva gabrielcastrosilva merged commit 5afd4e5 into release-1.1.x Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants