mgt not working in production. #2026
-
Hi, I used this sample in my development environment and I have created a project using these mgt controls. So far they work great, but I just deployed into production, in a hosting service, and the project I created doesn't work. So, I tried to deploy this sample into production to verify if this is the issue, and it is. The home page load well, but after I click the login button, the url shows the login.microsoftonline.com/common/oauth2/... authentication and then when it gets back shows the error page: /Home/Error. It is showing the warning page that it is in Development Mode and I couldn't make it to show the error details, even changing the ASPNETCORE_ENVIRONMENT to Development in web.config. Also, I have created a sample Core Web App project connecting to Azure AD using the same App Registration in Azure and this worked well, so the connection using the App Registration is ok. The log file shows: Do you know or have any ideas what is happening to mgt in production? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Can you share a repro that would highlight this issue? I assume the client id and potentially tenant id are the right ones? I see you are using the proxy provider (from the GET call). Is that the case? |
Beta Was this translation helpful? Give feedback.
Can you share a repro that would highlight this issue? I assume the client id and potentially tenant id are the right ones? I see you are using the proxy provider (from the GET call). Is that the case?