-
Notifications
You must be signed in to change notification settings - Fork 27
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
OAuth consent screen not redirecting to default current page #30
Comments
Will need a lot more information than this to be able to help. |
In many OAuth authentication libraries, they provide you (the developer) the option to set the redirect uri which is the uri that the OAuth provider (i.e. Google, Twitter, Reddit, etc.) will redirect back to in the case that the user consents to having their account used. nuxt-oauth does not provide the option to set the redirect uri and after some digging, it seems that the uri is set to I assume this is the same issue @setyoaji21 is seeing. Hopefully this makes sense and we can get this worked out. |
@cedricium why does Reddit not successfully redirect you back to your callback URL? The reason you get bounced out again when you hit it manually is that you don't have the required URL params that the OAuth provider should include when redirecting you back. I would check what URL Reddit is redirecting you back to. It should be your callback URL with some URL params including |
this actually happend to me when I return a huge data on fetchUser hook. |
@Abady321x123 could you provide some more detail? I'm not sure it's the same issue if it's happening during the |
I have successfully redirecting user to google oauth consent screen. But, after the access granted it won't return to default current page
The text was updated successfully, but these errors were encountered: