Hi @Dinesh Gandhi •
Thank you for sharing your issue on Microsoft Q&A.
I Understand that you are facing an issue with your application's login flow. It seems you're experiencing issues with Azure AD authentication using OpenID Connect after closing and reopening your browser.
Based on your response, it seems like the issue might be related to the expiration time of the authentication token. By default, the authentication token issued by Azure AD has a validity period of one hour. After the token expires, the user needs to re-authenticate to get a new token.
A possible solution would be to use a refresh token, which allows you to obtain a new access token without requiring the user to re-authenticate each time the token expires.
If you're still experiencing the issue after implementing the refresh token flow, or if the problem persists try login through another browser, please share the redirect URL you're using.
I hope this helps! Let me know if you have any further questions.
Best Regards.
Harshitha Eligeti.