Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 58 additions & 23 deletions main/docs/customize/forms/flows/integrations/auth0.mdx
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
---
description: Learn how to configure your Auth0 flow actions to retrieve and update
user's profile information or create new users.
description: Learn how to configure your Auth0 pre-built flow actions to make requests against the Management API or send custom notifications.
'og:image': https://cdn2.auth0.com/docs/1.14553.0/img/share-image.png
'og:title': Auth0
'og:url': https://auth0.com/docs/
permalink: auth0
title: Auth0
'twitter:description': Learn how to configure your Auth0 flow actions to retrieve
and update user's profile information or create new users.
'twitter:description': Learn how to configure your Auth0 pre-built flow actions to make requests against the Management API or send custom notifications.
'twitter:title': Auth0
---
This list of Auth0 actions allows you to get, create, and update users.

## Configure your Vault connection
## Management API

To configure a Vault connection for your Auth0 actions, you will need to [create a Machine-to-Machine](/docs/get-started/auth0-overview/create-applications/machine-to-machine-apps) application and use **Tenant domain, <Tooltip tip="Client ID: Identification value given to your registered resource from Auth0." cta="View Glossary" href="/docs/glossary?term=Client+ID">Client ID</Tooltip> and <Tooltip tip="Client ID: Identification value given to your registered resource from Auth0." cta="View Glossary" href="/docs/glossary?term=Client+Secret">Client Secret</Tooltip>**:
### Configure your Vault connection with Management API

To configure a Vault connection for your Auth0 Actions, you will need to [create a Machine-to-Machine](/docs/get-started/auth0-overview/create-applications/machine-to-machine-apps) application and use **Tenant domain, <Tooltip tip="Client ID: Identification value given to your registered resource from Auth0." cta="View Glossary" href="/docs/glossary?term=Client+ID">Client ID</Tooltip> and <Tooltip tip="Client ID: Identification value given to your registered resource from Auth0." cta="View Glossary" href="/docs/glossary?term=Client+Secret">Client Secret</Tooltip>**:

<Frame>![](/docs/images/cdy7uua7fh8z/1IPtH5hD6QTRXsySyo2Ovr/3562828624e2fd4f308b6eb3b5042f34/auth0-vault-connection.png)</Frame>

Expand All @@ -24,7 +23,7 @@ Remember to authorize your Machine-to-Machine application to access the Manageme

</Warning>

## Create user
### Create user

<Warning>
Create User doesn't support interactions using canonical domain when combined with [Multiple Custom Domains](/docs/customize/custom-domains/multiple-custom-domains.mdx) during Early Access. To learn more, read [Product Release Stages](/docs/troubleshoot/product-lifecycle/product-release-stages.mdx).
Expand All @@ -34,7 +33,7 @@ Create a user.

<Frame>![](/docs/images/cdy7uua7fh8z/6MQIKf2IpTtI2g7d5Pwn7u/222ec746cf9c0c1003d18ba4c0aa451e/create_user.png)</Frame>

### Input settings
#### Input settings

<table class="table">
<thead>
Expand All @@ -51,17 +50,17 @@ Create a user.
</tbody>
</table>

### Output settings
#### Output object

You can find the expected response and status codes at [Create a user](https://auth0.com/docs/api/management/v2/users/post-users#response-messages) API documentation.
Review [Create a user](https://auth0.com/docs/api/management/v2/users/post-users#response-messages) for expected response and status code.

## Get user
### Get user

Retrieve user details.

<Frame>![](/docs/images/cdy7uua7fh8z/3GoNZsXOvMTYRtMQNj00mm/6e92d94cee7b165479c688358a5df242/Screenshot_2024-11-18_at_16.31.49.png)</Frame>

### Input settings
#### Input settings

<table class="table">
<thead>
Expand All @@ -73,22 +72,22 @@ Retrieve user details.
<tbody>
<tr>
<td>User ID</td>
<td>ID of the user to retrieve. To learn more, read \<a api="" auth0.com="" docs="" get-users-by-id="" https:="" management="" users="" v2="">Get a user\</a> API documentation. </td>
<td>ID of the user to retrieve. To learn more, read [Get a user](https://auth0.com/docs/api/management/v2/users/get-users-by-id) API documentation. </td>
</tr>
</tbody>
</table>

### Output settings
#### Output object

You can find the expected response and status codes at [Get a user](https://auth0.com/docs/api/management/v2/users/get-users-by-id#response-messages) API documentation.
Review [Get a user](https://auth0.com/docs/api/management/v2/users/get-users-by-id#response-messages) for expected response and status code.

## Update user
### Update user

Update a user.

<Frame>![](/docs/images/cdy7uua7fh8z/3tymSpaeod6EksWRJp1sge/1122b244d756d754fe41baac209a132b/Screenshot_2024-11-18_at_16.49.56.png)</Frame>

### Input settings
#### Input settings

<table class="table">
<thead>
Expand All @@ -109,17 +108,17 @@ Update a user.
</tbody>
</table>

### Output settings
#### Output object

You can find the expected response and status codes at [Update a user](https://auth0.com/docs/api/management/v2/users/patch-users-by-id#response-messages) API documentation.

## Custom API Request
### Custom API request

Send a custom API request to Auth0 API endpoints.

<Frame>![Dashboard > Customize > Flows > Integrations > Auth0](/docs/images/cdy7uua7fh8z/66uV9iuhwfnXUdE1quLOyx/2ae3ff26335acbcd172cbb40618a5a90/Screenshot_2025-01-24_at_18.50.26.png)</Frame>

### Input settings
#### Input settings

<table class="table">
<thead>
Expand Down Expand Up @@ -170,6 +169,42 @@ Available HTTP methods include:
</tbody>
</table>

### Output settings
#### Output object

Review [Auth0 Management API](https://auth0.com/docs/api/management/v2/introduction) for expected responses and status codes.

## Notifications

### Send email

Send a custom email using your [configured email provider.](https://auth0.com/docs/customize/email/configure-a-custom-email-provider)

<Warning>
A [Custom Email Provider](https://auth0.com/docs/customize/email/configure-a-custom-email-provider) must be enabled before using this action.
</Warning>

<Frame>![](/docs/images/forms/flows/integrations/auth0-notifications-send-email.png)</Frame>

#### Input settings

| Parameter | Description |
|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Use custom sender email | By default, we will use the sender email you have configured in your custom email provider settings. Enable this option if you want to use a different sender email or name. |
| Recipient email | The recipient’s email |
| Subject | The email subject |
| Custom variable | Add custom variables to be inserted in your email template. Once configured, you can reference them using `{{custom_vars.your_variable_key}}`. |
| Message | Email message in HTML format using Liquid syntax. You can use [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables) or custom ones using `{{custom_vars.your_variable_key}}` syntax. |

#### Output object

| Property | Type | Description |
|-----------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| success | Boolean | Indicates if the email was successfully queued to be sent, regardless of whether the delivery failed or not. |

#### Output object example

You can find the expected response and status codes at [Auth0 Management API](https://auth0.com/docs/api/management/v2/introduction) documentation.
```json
{
"success": true
}
```
7 changes: 2 additions & 5 deletions main/docs/customize/forms/flows/integrations/logic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Adds a conditional action with True / False branches to customize the behavior o
</tbody>
</table>

### Output response
### Output object

<table class="table">
<thead>
Expand Down Expand Up @@ -66,9 +66,6 @@ Adds a conditional action with True / False branches to customize the behavior o






## Store shared variable

Stores variables in a private state that is available in your form and across its flows.
Expand Down Expand Up @@ -164,7 +161,7 @@ Maps an input variable to an output based on its values.
</tbody>
</table>

### Output response
### Output object

<table class="table">
<thead>
Expand Down
2 changes: 1 addition & 1 deletion main/docs/customize/forms/flows/integrations/mailjet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ Send an email using Mailjet as the email provider.
</tbody>
</table>

### Output settings
### Output object

You can find the expected response and status codes at [Mailjet's documentation](https://dev.mailjet.com/email/reference/send-emails/).
2 changes: 1 addition & 1 deletion main/docs/customize/forms/flows/integrations/sendgrid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ Send an email using SendGrid as the email provider.
</tbody>
</table>

### Output settings
### Output object

You can find the expected response and status codes at [SendGrid's documentation](https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send).
2 changes: 1 addition & 1 deletion main/docs/customize/forms/flows/integrations/telegram.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ Send a messages to a Telegram chat
</tbody>
</table>

### Output settings
### Output object

You can find the expected response and status codes at [Telegram's documentation](https://core.telegram.org/method/messages.sendMessage).
4 changes: 2 additions & 2 deletions main/docs/customize/forms/flows/integrations/twilio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Sends an SMS.
</tbody>
</table>

### Output settings
### Output object

You can find all the expected status codes at [Twilio's documentation](https://www.twilio.com/docs/messaging/api/message-resource#message-status-values).

Expand Down Expand Up @@ -88,6 +88,6 @@ TwiML payload (required)
</tbody>
</table>

### Output settings
### Output object

You can find all the expected status codes at [Twilio's documentation](https://www.twilio.com/docs/voice/twiml).
2 changes: 1 addition & 1 deletion main/docs/customize/forms/flows/integrations/whatsapp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ The content of the message object will differ based on the selected message type
</tbody>
</table>

### Output settings
### Output object

You can find all expected status codes at [Facebook's documentation](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.