Implement Single Sign-On for Android Applications

I have 4-5 applications for Android, and I want to implement Single Sign for all these applications. So that the user can log into any of these applications, he will not be asked to log in again for other applications. How can I execute it in Android?

+5
source share
1 answer

Implementing single sign-on requires a common database containing user credentials. One way to do this is to implement your own authentication server, which provides the login, register, reset, and forgotten password APIs that your applications will use to enter the application.

, JWT , , auth JWT Android.

, , , . on_create jwt . , . , . jwt , . , jwt.

, , regd , . XML lib, lib, .

, , , , OAuth2 - , , , Stormpath CAS, ​​. , , .

JWT userId ( ), , .

, , - , , JWT userId . , auth . , auth, , , auth.

logout reset . , JWT, , , SSO. , , . , , , , UX.

, - -, -, , , . auth.

Android, . , , , .

0

All Articles