Hi @devops17
Welcome to the Auth0 Community!
Regarding the first issue that you have posted, it appears that you application does not have configured the baseURL which would be either the AUTH0_ISSUER_BASE_URL
or AUTH0_BASE_URL
.
For your second issue, you might not be redirecting the user properly inside your application.
I would highly recommend to review the following posts regarding the matter:
- How to Deploy a Next.js App Secured By Auth0 to Vercel
- Auth0 Examples & Templates | Vercel
- Auth0 w/ NextJS and Vercel Not Working
- How to Deploy a Next.js App Secured By Auth0 to Vercel - #7 by byron.motoche
- Nextjs + auth0 work at localhost, but return 404 while depoly to vercel - #6 by onlinepenguin
- Vercel Integration with Auth0
Let me know if you have any other questions regrding the matter!
Kind Regards,
Nik