User's are logged out when logging in from another Microsoft login prompt

Trent 0 Reputation points
2024-02-06T20:02:49.2966667+00:00

I have a Ruby on Rails application and a React Native mobile application. I have configured OmniAuth on the Rails side using omniauth-azure-activedirectory-v2 and react-native-app-auth for the mobile app. Logging in works fine but the users are logged out if they try and sign in using their Microsoft account in a different app. For instance, I can login to the web application using Microsoft SSO. I then open the mobile app and login with Microsoft SSO. If I go back to the web application, it has been logged out. Even when selected "Stay signed in" this happens. Any configuration options I need to check?

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.