I’m having a strange issue that isn’t occurring locally but is occurring when I deploy.
I’ve set my scope to be “openid profile” and this is working locally. I’ve got exactly the same env vars in my deployed instance.
I notice that when I login from my local deploy I see an authenticate prompt between Univeral Login and my application:
This doesn’t happen for me on the deployed version.
I’m using Next.js and ‘@auth0/nextjs-auth0’ library. The error seems to be happening on the callback route. I am using a rule to enhance the profile with metadata and am sending state to Auth0 and checking it on the way back.
I’ve checked settings are the same, code is the same and connections are the same.
I’ve got this same basic architecture deployed for several applications and am struggling to work out what is wrong here.
Any help gratefully received!!