Thank you for your post and for sharing the GIF of your issue!
Based on the GIF you provided, it looks like the Microsoft OAuth flow is working as expected. The flow seemed to be checking if the user was already signed into their Microsoft account, which could be the reason why you saw the user displayed briefly before being redirected to the sign-in page.
To gain a better understanding of your issue to ensure this is expected behavior, can you share some more info below.
- What is the expected behavior of the Microsoft OAuth flow in your application?
- Are you experiencing any issues with the OAuth flow other than the brief display of the user's name?
- Have you tested the OAuth flow with multiple users to see if the behavior is consistent?
- Are there any error messages or indications of an issue with the OAuth flow?
Any additional information would be greatly appreciated.
I hope this helps!
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.