I had auth0 setuped and it was working fine after migrating the server without any change to file or database similar to cloning the server the auth 0 is not working on website. It is giving an error which I am unable to resolve. Can anyone please have a look and help. The error is as below
There was a problem with your log in: Error exchanging code [error code: unknown]
This error almost always means that the new, cloned server’s URL doesn’t match what Auth0 has on file. When you migrated the server, its address (domain or IP) likely changed, and now Auth0 is rejecting the login attempt as a security measure.
To fix this, you need to update the URLs in your Auth0 Application settings to reflect your new server’s address.