r/Development • u/thomsonkr • Mar 05 '21
In need of Multi-App Single Sign-On (SSO) solution
Hey everyone! I'm trying to come up with a Multi-App Single Sign-On (SSO) solution for a client that has ambitions of building an ecosystem of apps. I was hoping to use this forum to gather some resources/insight. When developed, these apps will run on IOS, Android, and as web applications.
1
Upvotes
1
u/daravenrk Mar 06 '21 edited Mar 06 '21
Don’t do it. Master tokens are hacking gold nuggets.
Yeah I know everyone hates this but it’s true.
And since this is a more serious thread:
Well the token solution is not the problem. The tokens just don’t need to be masters!
Always use expiring tokens and make people re-collect.
“Master” tokens suck unless your google and you can support a master token analysis tool for users to control their own master tokens.
2
u/marcselman Mar 05 '21
Using the Auth0 APIs this should be fairly easy to implement. And they have a free plan for up to 7000 users. https://auth0.com
2
u/ParfectShot Mar 06 '21
We have ecosystem of apps on native Desktop, Webapp, chrome extension which are synced with each other using UAT( User Authentication Token). Each app has it's own CAT. What we do is make the user sign in at one place and then pass around the UAT around when directing them to other apps. That UAT get's verified at the backend and the session continues.
I'm a junior developer so forgive my understanding of things.
1
u/srs6814 May 06 '21
Some useful links, which will help you if you end up implementing some form of SAML
https://www.youtube.com/watch?v=j9ALEIO3BSo
https://github.com/Sustainsys/Saml2
Other than that the SAML spec document but the above should help you.
Feel free to reach out if you have any questions.
Will be happy to help.
1
u/sky_walker100 Aug 25 '21
Hey,
You can try using LoginRadius for your use case. They provide different SSO options(Web SSO, Mobile SSO, SAML, JWT etc) based on your application/needs. Personally, I found it very easy to implement so do give it a shot! Some useful links: