Trying to implement Azure sign-in, and I used SFAuthenticationSession
and ASWebAuthentication
in iOS, but I don't know what the equivalent is for Android. Is there an API that provides the same functionality?
The AppAuth library is the component that will offer something closer to what you are looking for.
Another alternative is to use a native authentication but that requires your backend server to validate tokens with google.
I recommend looking into the https://developer.android.com/reference/androidx/browser/trusted/package-summary andhttps://developer.android.com/jetpack/androidx/releases/browser
This is how auth0 sdk is doing https://github.com/auth0/Auth0.Android
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.