I published my application which contains Identity Framework for logins to Azure. The login works perfectly fine in my local environment. But I get the following error after publishing to Azure. I actually did not make any changes to my Login code.
Error.
An error occurred while processing your request.
Development Mode
Swapping to the Development environment displays detailed information about the error that occurred.
The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.