Add Auth0 extension
Learn how to add an Auth0 extension by entering necessary details such as domain, client ID, and API audience, and configuring cache retention settings.
- Navigate to Settings > Extensions.
- Select AuthO . If you cannot see the option in your list of Extensions, contact the Support team.
- Select API Details .
- Enter the required details:Note: The instructions provided to help you locate values in the Auth0 UI are based on the interface at the time of writing. If you're unable to find the values or if the Auth0 UI has changed, reach out directly to Auth0 Support for further assistance.
Field Your Action Domain
Enter your AuthO domain, for example, dev-m21kny2tendlocd6.us.auth0.com . You can find this value in your Auth0 account by navigating toAuth0 > Applications > Applications.
Client ID
Enter the client ID of your AuthO application, for example, XVagsMyA8ltYnRnltJ6tcMe0sitkQ63a. You can find this value in your Auth0 account by navigating toAuth0 > Applications > Applications.
Client Secret
Enter the client secret associated with your Auth0 application. You can find this value in your Auth0 account by navigating to toAuth0 > Applications > Applications. .
API Audience
Enter the identifier for your API, for example, https://dev-m21kny2tendlocd6.us.auth0.com/api/v2/ . You can find this value in your Auth0 account by navigating to toAuth0 > Applications > APIs. .
Database Connection
Specify the name of your database connection in AuthO, for example, Username-Password-Authentication. You can find this value in your Auth0 account by navigating to toAuth0 > Authentication > Databases.
Cache Retention Period (minutes)
Specifies how long Zephr should cache external user attribute values retrieved from an external identity provider, such as Auth0. When a user logs in, Zephr fetches attribute values, such as color preference, from the external system and stores them temporarily. The cache retention period determines how often Zephr revalidates and updates this data.
For example, if the period is set to 30 minutes, any changes made directly in the external system, for example, updating a user's preference from blue to green, will only be reflected in Zephr after the cache period expires. Ensure that you:
- Set a shorter duration if external attribute data changes frequently.
- Set a longer duration for better performance and reduced load on the external system.
The default value is 12 hours.
- Click Done.
- In the Activate Plugin section, select the sites in which you want to enable this plugin.
- Click Save .