docs(action): specify docs (#4709)

* docs: add actions section

* docs(actions): add modules

* docs: actions

* docs(actions): start with register flows

* add calls

* docs: all actions documented

* docs(actions): unify

* docs(actions): unify texts

* docs: apply suggestions from code review

Co-authored-by: mffap <[email protected]>

* docs(actions): clarifications

* docs: return values italic

* docs: fix broken links

* docs: fix broken links

* docs: fix broken links

* docs: fix broken links

* Update docs/docs/apis/actions/introduction.md

Co-authored-by: mffap <[email protected]>

* docs(actions): link actions examples

* docs: remove unused section

Co-authored-by: mffap <[email protected]>
Co-authored-by: Florian Forster <[email protected]>
This commit is contained in:
Silvan
2022-11-28 09:20:33 +01:00
committed by GitHub
co-authored by mffap Florian Forster
parent 789faa8ce8
commit 5a1f4c387c
9 changed files with 400 additions and 116 deletions
@@ -36,13 +36,13 @@ https://github.com/zitadel/actions/blob/main/examples/add_user_grant.js
## Run the action when a user registers
Now, make the action hook into the [external authentication flow](../../../apis/actions#external-authentication-flow).
Now, make the action hook into the [external authentication flow](../../../apis/actions/register-flow#external-authentication).
1. In the **Flows <i class="las la-exchange-alt"></i>** section, select the **+ New** button.
1. Select the **Flow Type** *External Authentication*.
1. Select the **Trigger Type** *Post Creation*.
1. In the **Actions** dropdown, check *addGrant*.
1. Select the **Save** button.
2. Select the **Flow Type** *External Authentication*.
3. Select the **Trigger Type** *Post Creation*.
4. In the **Actions** dropdown, check *addGrant*.
5. Select the **Save** button.
<!-- TODO: ## Test if your action works -->
@@ -51,4 +51,4 @@ New users automatically are assiged a role now if they register by authenticatin
## What's next?
- [Read more about the concepts around actions](../../../concepts/features/actions)
- [Read more about all the options you have with actions](../../../apis/actions)
- [Read more about all the options you have with actions](../../../apis/actions/introduction)