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

    SSO via /api/login

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    5.2k
    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.
    • A
      andres.garcia
      last edited by

      Hi everyone I wonder if this scenario is doable using FusionAuth

      I have my FusionAuth installed and two Applications, App A and App B

      App A sign-in with FusionAuth through PHP using /api/login endpoint and that works great.

      App B sign-in with FusionAuth using SAML as a service provider and also works great.

      But I have a problem right now that is I would like that my already logged in users in App A can Sign-in in App B without entering username and password again, so that is basically SSO the question is there is any way to initiate an SSO session using the /api/login endpoint instead of using the standard hosted login page.

      Thank you and you have a really wonderful product.

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @andres.garcia
        last edited by

        @andres-garcia What you have encountered is a limit of the login API. No SSO support is available via that API currently.

        The hosted login pages offer a whole lot of functionality, and that includes SSO: https://fusionauth.io/docs/v1/tech/core-concepts/integration-points/#hosted-login-pages

        There is an open bug to offer something that might work for you: https://github.com/FusionAuth/fusionauth-issues/issues/1515

        Please upvote the bug, add a comment, or open a new bug if what I shared doesn't work for you.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • S
          serena.pearsonx
          last edited by

          Apologies for reviving a months-old thread, but I'm new on this forum and I'm hunting for similar info. I came across your post about SSO using the /api/login endpoint in FusionAuth.
          From what I've learned recently, the login API doesn't currently support SSO. The hosted login pages, on the other hand, provide a bunch of functionalities, including SSO. So, for now, it seems like using the standard hosted login page is the way to go.

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