FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Application based Sign Up / Log in

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    15.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gaylepandey20
      last edited by

      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.

      O 1 Reply Last reply Reply Quote 0
      • O
        otislinker345 @gaylepandey20
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post