google sso verify code
This block is part of the users group and was last modified in core v14.0.4.
google sso verify code
v14.0.4
Exchange a Google authorization code for user identity. Returns email, name, and a service token for "user exists by service".
| Pin | Pin | Type | Default |
|---|---|---|---|
| flow |
flow |
||
Client IDrequiredGoogle OAuth Client ID (must match the one used to generate the auth URL) |
value |
||
Client SecretrequiredGoogle OAuth Client Secret |
value |
||
CoderequiredThe authorization code returned by Google |
value |
||
Redirect URIrequiredMust be the same redirect URI used when generating the auth URL |
value |
| Pin | Pin | Type | Example |
|---|---|---|---|
| flow |
flow |
||
| Email The user email address from the SSO provider |
value |
||
| Name The user display name |
value |
||
| First name The user first name |
value |
||
| Last name The user last name |
value |
||
| Service Token Service token in format "{provider}-{id}" for use with "user exists by service" block |
value |
||
| Provider User ID The unique user ID at the SSO provider |
value |
||
| Access Token The OAuth access token for making API calls on behalf of the user |
value |
||
| Refresh Token The OAuth refresh token for obtaining new access tokens |
value |
||
| Raw Token The full decoded ID token claims from the provider |
object |
||
| Success True if the code was exchanged successfully |
condition |
||
| Error Error message if success is false |
value |
sso |
oauth |
google |
single sign on |
openid |
verify |
exchange |
callback |
Core Releases
v14.0.4 This block was introduced inv14.0.4, click here to see the release notes.
Back to
users
Return to the main group to view all sub-groups
Back to sso
Return to the group to view all blocks within this group