mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 04:17:22 +00:00
docs(actions): correct tokens in post authentication (#5600)
* docs(actions): correct tokens in post authentication * docs(actions): correct context fields in complement token
This commit is contained in:
parent
4f5b195420
commit
d515e1a004
@ -17,7 +17,7 @@ This trigger is called before userinfo are set in the token or response.
|
||||
- `getUser()` [*User*](./objects#user)
|
||||
- `user`
|
||||
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||
- `api`
|
||||
The second parameter contains the following fields:
|
||||
- `v1`
|
||||
@ -45,7 +45,7 @@ This trigger is called before the claims are set in the access token and the tok
|
||||
- `getUser()` [*User*](./objects#user)
|
||||
- `user`
|
||||
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||
- `api`
|
||||
The second parameter contains the following fields:
|
||||
- `v1`
|
||||
|
@ -13,13 +13,13 @@ A user has authenticated externally. ZITADEL retrieved and mapped the external i
|
||||
- `ctx`
|
||||
The first parameter contains the following fields
|
||||
- `accessToken` *string*
|
||||
The access token which will be returned to the user. This can be an opaque token or a JWT
|
||||
The access token returned by the identity provider. This can be an opaque token or a JWT
|
||||
- `claimsJSON()` [*idTokenClaims*](../openidoauth/claims)
|
||||
Returns all claims of the id token
|
||||
- `getClaim(key)` *Any*
|
||||
Returns the requested [id token claim](../openidoauth/claims)
|
||||
- `idToken` *string*
|
||||
The id token which will be returned to the user
|
||||
The id token provided by the identity provider.
|
||||
- `v1`
|
||||
- `externalUser()` [*externalUser*](./objects#external-user)
|
||||
- `authError` *string*
|
||||
|
Loading…
x
Reference in New Issue
Block a user