O365 Login is not working when browser cache is cleared

Trial FWS 1 Reputation point
2020-01-28T12:23:14.503+00:00

Hi Team,
We have done O365 authentication in our small application. After some months we have found that now O365 authentication is not working when browse cache is cleared, Sometimes either that login will redirect and to same page again and again and not hits the redirect URL or sometimes ClaimsIdentity is returns Null. I am using MVC please suggest where we are going wrong or why the application is working abnormally now.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,380 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,706 Reputation points Microsoft Employee
    2020-01-31T22:06:49.19+00:00

    As mentioned by soumi-MSFT, we will need a bit more information from you to be able to better diagnose this. Please send the details and fiddler traces to the email address provided (AzCommunity@microsoft.com), and we will follow up with you.

    Also, just based off of the information you provided, it's possible that there's an issue with your app registration settings. Make sure that the Redirect URI in your tenant app registration matches what you have in your code, and that the other values such as client ID and tenant ID also match.

    Once you have reached a resolution, please share it with the community so that others with similar questions can more easily find an answer.

    0 comments No comments