Auth0 callback url
See original GitHub issueYour question What should be the callbackUrl to set?
What are you trying to do
I’m trying to use nextauth with auth0 as a provider. I followed the guide as suggested and set callback url as http://localhost:3000/api/auth/callback in my application settings at auth0 because i’m testing it locally.
But when i click on the login button and select auth0, I’m being redirected to their error page saying Callback URL mismatch.
The docs doesn’t make mention of how to setcallbacks.
A snapshot of it.
Any help with that?
Edit: I finally fixed my issues after changing callbackUrl several times. So the correct callbackUrl is http://localhost:3000/api/auth/callback/auth0. I just needed to append /auth0 at the end.
- Found the documentation helpful
- Found documentation but was incomplete
- Could not find relevant documentation
- Found the example project helpful
- Did not find the example project helpful
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Redirect Users - Auth0
During a user's authentication, the redirect_uri request parameter is used as a callback URL. This is where your application receives and processes the...
Read more >Callback URLs
Callback URLs are the URLs that Auth0 invokes after the authentication process. Auth0 redirects back to this URL and appends additional parameters to...
Read more >Configure Auth0 Application - Thinkster.io
A callback URL is a URL in your application where Auth0 redirects the user after they have authenticated. The callback URL for your...
Read more >Auth0 tutorial part 7 how to configure callback URL and logout ...
Auth0 tutorial part 7 how to configure callback URL and logout URL ... 1.2K views 7 months ago Auth0 tutorial for beginners.
Read more >Auth0 Regular Web App Callback URL issue - Reddit
The callback URL added via the dashboard is suppose to redirect the user after they have authenticated through the Auth0 login UI. I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for coming back and updating with the resolution, always apprecaited!
@iaincollins, could you add this to the documentation on the npm module
README.md.Would be handy to newcomers. Thank you.