'Migration to Google Identity Services(GIS) and Sign In using REST
I have an Android project with "Google Sign In" button. In most of the cases, I use native Sign In SDK BUT cover as well the case when device has no preinstalled GooglePlayServices. For the case, I prepare REST request and redirect it to browser.
According to Migrate to Google Identity Services documentation, there is the old "redirect" way using REST where we have to prepare request link and make GET request.
BUT the new way have no REST option. There just HTML pages.
QUESTIONS: do we have the option to Sign In with Google Identity Services using REST request? Maybe someone has an idea of how to cover the case smoothly?
Solution 1:[1]
You can use oauth-2.0-endpoints with email
and profile
scopes and follow branding guidelines, or assuming that you also have a website, use an Android webview with One Tap. The latter is preferable, but on the chance you only release your app on Android the endpoint approach may help.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | bdid |