AI-generated Key Takeaways
-
AccountLinking allows Google to guide users to sign in to an App's web services.
-
The AccountLinking configuration includes details like client ID, client secret, authentication and access token URLs, and supported scopes and assertion types.
-
AccountLinking supports specific configurations for Android and iOS AppFlip features, including package names, signatures, intents, and universal links.
AccountLinking is used for the App to allow Google to guide user to sign-in to the App's web services.
| JSON representation | |
|---|---|
{ "clientId": string, "clientSecret": string, "grantType": enum ( |
|
| Fields | |
|---|---|
clientId |
Unique public string used to identify client requesting authentication. |
clientSecret |
Client secret maintained by the developer. |
grantType |
Indicates type of authentication. |
authenticationUrl |
The url where users will be redirected to for entering login credentials, for example, |
accessTokenUrl |
The url to fetch the access token given an authorization code, for example, |
scopes[] |
List of scopes user needs to grant permission for. Up to 10 scopes are supported. |
scopeExplanationUrl |
The App's URL for displaying information about the scopes for which the access token is being granted. The URL will be appended with a query parameter "scopes" containing a list of scopes being requested, e.g.: |
googleSignInClientId |
The Google API Console OAuth 2.0 client ID that is being used by the App for Google Sign-In. This field is required for the |
assertionTypes[] |
The list of assertion types that the App can support at the token endpoint. |
basicAuthHeaderForTokenEndpoint |
Uses basic auth header for token endpoint if this field is set to true. Otherwise, uses the client id and secret inside the post body. |
revocationEndpoint |
token revocation endpoint, please refer to IdP's developer document to find the correct value. For example, https://login.example.com/oauth/revoke. |
androidAppFlip[] |
Account Linking config for Android AppFlip. |
iosAppFlip[] |
Account Linking config iOS AppFlip. |
AndroidAppFlip
Account Linking config for Android AppFlip.
| JSON representation | |
|---|---|
{ "appPackageName": string, "appSignature": string, "appFlipIntent": string } |
|
| Fields | |
|---|---|
appPackageName |
Package name of the 3P app. |
appSignature |
The SHA-256 fingerprint of their signing signature for the 3P app. |
appFlipIntent |
The intent action that should be used to start the 3P app. |
IosAppFlip
Account Linking config iOS AppFlip.
| JSON representation | |
|---|---|
{ "universalLink": string } |
|
| Fields | |
|---|---|
universalLink |
universal link for 3P app. |