Application based Sign Up / Log in
-
I have 2 applications within the same tenant, I have enabled Self Service registration for both the application. The issue i am facing is User 1 of application A is able to LOG IN (using the email address and password of application A) to application B. On Logging in User 1 is given the default role provided in application B. Also i dont want to disable self service registration on both the applications. I checked the userState attribute , it shows "AUTHENTICATED" when User 1 logs in application B and it gets registered to that application.
-
I think you should implement custom registration or login logic using FusionAuth's webhooks or API. For example, you can check the application context during login and prevent users from being registered or authenticated in an application they are not supposed to access.