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
Incoming redirected requests are affected by the default prefix. If we give /auth as a prefix then it will block the redirect URL /auth/:provider/callback and if we leave this as empty then it sends undefined in the callback URL.
The text was updated successfully, but these errors were encountered:
app.use(grant({origin: 'http://localhost:5001',// note that origin is the key to use moving forwardprefix: '/auth'}))
Then your Redirect URL will be http://localhost:5001/auth/google/callback (for Google).
However, note that your callback cannot be this /auth/google/callback because this will be the Redirect URL used internally by Grant. Instead, you can set your callback to something else, like /auth/google/login - this is where you will get the response data at the end.
grant config
redirect URL
Incoming redirected requests are affected by the default
prefix
. If we give/auth
as a prefix then it will block the redirect URL/auth/:provider/callback
and if we leave this asempty
then it sends undefined in the callback URL.The text was updated successfully, but these errors were encountered: