-
Notifications
You must be signed in to change notification settings - Fork 2k
google authentication callback url bug #535
Comments
Are you missing some code there? Maybe an if and another closing brace? |
I added this code into the first function, the whole become:
|
ditto, started hitting the same issue recently. Here is the workaround that I am running with:
I was not sure if this was a self imposed regression or something outside of our control. |
Just checked tip and the issue is still there but it seems browser dependent. No problems using Firefox: Issue is there with Chrome: Chrome taking this error: |
Wiresharking reveals that indeed a # is being appended to the callback URL but only when using Chrome. This should probably be bumped up to a P1 priority as Chrome G+ auth is not functioning properly without a workaround. junit38's workaround is probably the more elegant as it specifically addresses this issue. @junit38 , let me know if you would like to submit a PR, otherwise I can put one together. The real question is why is Google appending the # with no error code to follow, please upvote if you agree: thanks |
@ppotoplyak I'm ok to submit a PR let me know how to proceed and when I can do it. Should I need to create my branch of the project ? Thanks |
@junit38 lets get guidance from ilanbiala as he would be the approving authority. @ilanbiala we would like to make sure that you agree that this is a real issue and a PR for a workaround is required? thanks |
Thank you @junit38 and @ppotoplyak - have submitted a PR with the fix from @junit38 |
Fix the Google OAuth Redirect Bug - #535
Hi,
I get URL like localhost:3000/# when I use google authentication with passport.
I fixed the problem using the same way which has been used to fix the Facebook bug with redirect (public/modules/application.js):
I added this part:
Does you know something about it?
Thanks.
The text was updated successfully, but these errors were encountered: