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 Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

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