I need a cross-domain web to mobile app single sign-on solution. I have an app that currently authenticates a user using the LoginProvider class in .net. Each request has an "X-ZUMO-AUTH" header added to it.
My problem is that I am about to add a few more mobile and web apps that would share the same login credentials.
How can I go about verifying users across multiple domains? Do I setup a stand-alone verification application that pushes out a token or is there some library that keeps a session open for doing this?
What do people use on .net to assign a single sign on to users? mind you that this process would have to work with mobile applications "iOS and Android" as well as web apps.
I was looking at this : SSO and I am not too sure yet if this is a good way to go about it.
My current app uses: Xamarin with an Azure back-end.
I would personally recommend using something like thinktecture, because most of the work is already done, and it help in supporting many ways for login and all are available and documented.
look at the documentation and the project here also you can follow the samples here , i don't know how your apps(android and IOS will be build ) but the Identity server can act as a service.
You can build an API that handles authentication. The API could handle both user based and device-based authentication (you will need to generate a unique device id and store it in your database). You should also pass in application or device type to the API for reporting purpose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With