SSO via /api/login
-
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.
-
@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.
-
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.