Yes, the http/https mismatch is definitely what's causing the issue here. The URLs need to match exactly for this to work. You can add multiple Reply URLs if you need to as well.
Sorry, but we 're having trouble signing you in - AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application
In general, I was able to sign in and access the application without any problem. But rarely, I get this error.
If my understanding is correct, I get this error when I click on the link to access other pages before the initial page could load.
Is it possible to add other pages as well in the portal reply URLs (Redirect URLs) ? so that it does not throw error.
For eg: can I add "https://appname.azurewebsites.net" and "https://appname.azurewebsites.net/page2" (which would be the URL of other page in the app).
If my understanding is wrong, May I know how I can go about solving this.
Deployed URL is "http://appname.azurewebsites.net" (here Http)
Azure portal redirect URL and the URL used in the application is "https://appname.azurewebsites.net" (here Https)
Http and Https difference causing this issue ?