This integration allows user accounts to be created in Authentik - still WIP.
{
"form": [
{
"id": "GROUP_ID",
"url": "{{HOST}}/api/v3/core/groups/",
"name": "Select group to add user to",
"type": "choice",
"data_from": "results",
"choice_name": "name",
"choice_value": "pk"
}
],
"exists": {
"url": "{{HOST}}/api/v3/core/users/?email={{email}}",
"method": "GET",
"expected": "{{email}}"
},
"execute": [
{
"url": "{{HOST}}/api/v3/core/users",
"data": {
"name": "{{first_name}} {{last_name}}",
"email": "{{email}}",
"groups": [
"{{GROUP_ID}}"
],
"username": "{{first_name}} {{last_name}}"
},
"method": "POST"
}
],
"headers": {
"Accept": "application/json",
"Content-Type": "application/json",
"Authorization": "Bearer {{TOKEN}}"
},
"initial_data_form": [
{
"id": "TOKEN",
"name": "Please put your token here",
"description": "You can create a token in the Tokens & App passwords settings."
},
{
"id": "HOST",
"name": "Please put your Authentik host here",
"description": "Don't include any trailing slashes."
}
]
}
This integration allows user to provision Authentik accounts, allowing them to select additional groups.