'Auth0 how can i deploy my next.js application to Vercel

This is my application deployed on Vercel: https://budgetinator.vercel.app/

Whenever i click on the login button error 500 internal server error occurs.

This in the .env.local of my application

AUTH0_BASE_URL='http://localhost:3000'
AUTH0_ISSUER_BASE_URL='https://dev-wyibmj01.us.auth0.com'

Now using localhost:3000 is works fine, but i want to deploy my application.

I also already changed the url's on auth0 dashboard:

enter image description here

However, it still cant really connect. What do i need to do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source