-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Infinite loop occurred while connecting to the passport-google-oauth2 for "Sign in with Google". #91
Comments
TENSHKUMAR-KKT-2004
changed the title
Infinite loop occur when connecting to the google for sign in with Google.
Infinite loop occurred while connecting to the passport-google-oauth2 for "Sign in with Google".
Apr 11, 2023
We don't really need create a separate oauth.js, what was causing my issue was that I wrote this inside app.js
instead when I used this in app.js it started working
|
cool but i want to kms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
issue :
solution :
example code :
inside app.js
In case, if you've written the function this way
inside app.js
it not work for us because it is a our server side request and response.
so we need to convert the code like this.
now this get request will trigger to oauth google login/sign-in site without any error.
The text was updated successfully, but these errors were encountered: