You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
Similar changes still need to be made later on for onCode.
In any case, I think that originalUrl needs to come into play here because /auth/google isn't in req.url. Is this the correct fix? I would submit a pull request, but since this is an as-documented usage of Authom, I wanted to make sure I wasn't doing anything wrong to begin with. Any insight is welcomed! Thanks.
The text was updated successfully, but these errors were encountered:
I made some changes in a fork: bradisbell@894fc77 If that change looks good, I will put in a pull request. But, please let me know if this commit doesn't make any sense.
I'm using Authom like this:
I'm trying to authentication with Google, which uses OAuth2. The
redirect_uri
passed to Google contains/
instead of/auth/google
.I think the problem is in oauth2.js where
req.url
is used:If I add these two lines above this, the problem is resolved:
Similar changes still need to be made later on for
onCode
.In any case, I think that
originalUrl
needs to come into play here because/auth/google
isn't inreq.url
. Is this the correct fix? I would submit a pull request, but since this is an as-documented usage of Authom, I wanted to make sure I wasn't doing anything wrong to begin with. Any insight is welcomed! Thanks.The text was updated successfully, but these errors were encountered: