mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-28 01:52:16 +00:00
* feat(actions): add org metadata in complement token and saml response flows * document actions
1014 B
1014 B
title
| title |
|---|
| Complement SAMLResponse |
This flow is executed before the return of the SAMLResponse.
Pre SAMLResponse creation
This trigger is called before attributes are set in the SAMLResponse.
Parameters of Pre SAMLResponse creation
ctx
The first parameter contains the following fields:v1getUser()UserusergetMetadata()metadataResultgrantsUserGrantList
orggetMetadata()metadataResult
api
The second parameter contains the following fields:v1attributessetCustomAttribute(string, string, ...string)
Sets any value as attribute in addition to the default attributes, if the key is not already present. The parameters represent the key, nameFormat and the attributeValue(s).
usersetMetadata(string, Any)
Key of the metadata and any value