Auth0 RedirectURL Mismatch?

Hello Everyone,
I'm a developer at a software startup in the SF Bay Area.
The company is starting a new project, and we decided to go with Refine + NextJS + Auth0 for FE.

I had some questions about Auth0 setting.

What is done:
  • I have repo setup following the demo.
  • I have a application added to under my company's Auth0 account.
  • I'm able to properly walk through the auth flow when using Demo's tokens in
    src/app/api/auth/[...nextauth]/options.ts
  • However, when I replace these tokens to my company's application tokens, I start getting
    Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs.
  • This makes me think that the Demo's Auth0
    Allowed Callback URL
    is different from ours (see image)
Could someone kindly advise what I might be missing?
Screenshot_2024-07-09_at_2.53.25_PM.png
Screenshot_2024-07-09_at_2.54.48_PM.png
Was this page helpful?