Hi community
I’m using Auth0 with a Next.js application, deployed on Render.
The login works fine on the main domain:
https:/testproject-com-next .onrender.comBut when I try to log in from a PR deployment, for example:
https ://testproject-com-pr-80.onrender.com
— the login fails or redirects incorrectly, and I can’t complete authentication.
The PR deployment itself is working and reachable, but the login doesn’t succeed.
when i create my PR preview render will like this.
https ://tesproject-com-pr-80.onrender.com/
and when i login after that it redirect to the
https ://testproject-com-next.onrender.com/auth/callback?code=XRwy_x6bXazWl7jIkCAEcigXDX0KZOeRYtuvEmO9zBbsV&state=LsULUnGtb44-W28rozpgtVmH1cxJnI_dP0rxUsYFKyk
I don’t know whether there is issue with the auth0 or render?
Can you one guide me on this?