Overview
Two applications have been created as Web Applications on the same tenant. When trying to log in to Application A, the user will be logged in to Application B, and the opposite will happen. Similarly, when logging out of Application A, the user will be logged out of Application B, and the opposite will happen.
This article details how to solve the issue.
Applies To
- Application’s Session
- Applications
Solution
If it is desired for both applications (which are under the same domain and tenant) to require login with credentials, add in the application code the way that loginWithRedirect
sends the prompt: 'login'
as follows:
loginWithRedirect({ authorizationParams: { prompt: ‘login’ } })