AssertionType
Stay organized with collections
Save and categorize content based on your preferences.
Assertion types that the app can support at the token endpoint.
Enums |
UNKNOWN_ASSERTION_TYPE |
Unknown assertion type for backwards compatability. Rejected. |
ID_TOKEN |
OpenIDConnect ID token. This is JWT token with grantType set to urn:ietf:params:oauth:grant-type:jwt-bearer . This is the same token as produced by Google Sign-In libraries, and its verification is documented at https://developers.google.com/identity/sign-in/web/backend-auth. For more information on JWT tokens, see https://tools.ietf.org/html/rfc7523#section-2.1 This token will include the non-standard key-value pair intent=get when the user attempts to link to an existing account. The response should be as per https://tools.ietf.org/html/rfc6749#section-4.1.4 in the event of success, and as per https://tools.ietf.org/html/rfc6749#section-4.2.2.1 in the event of error. |
ACCOUNT_CREATION |
This is the same as ID_TOKEN , except that a non-standard key "intent" will be set to "create" indicating that the user is atempting to create a new account that should be associated with the Google ID in the sub field of the JWT, as with other usage of Google Sign-In. The responses are as with ID_TOKEN . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The app supports OpenIDConnect ID tokens (`ID_TOKEN`) and a custom assertion type for account creation (`ACCOUNT_CREATION`), both based on JWTs and utilizing Google Sign-In."],["`ID_TOKEN` assertions are used for standard authentication flows, including linking to existing accounts, while `ACCOUNT_CREATION` assertions specifically indicate new account creation intent."],["Responses to token requests using these assertions adhere to OAuth 2.0 standards for success and error handling as outlined in RFC6749."],["An unknown assertion type (`UNKNOWN_ASSERTION_TYPE`) exists for backward compatibility but is rejected by the application."]]],[]]