Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0-genai-feat-token-vault-orgs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The custom OAuth2 connection allows you to create integrations with any OAuth2 compliant service that isn’t available as a built-in integration type.

Overview

If a specific identity provider or service isn’t available out of the box, Auth0 allows you to create custom social connections. This is particularly useful for integrating with proprietary systems, regional services, or specialized OAuth2 providers. To learn more and configure a custom OAuth2 connection with Auth0, see our Connect Apps to Generic OAuth2 Authorization Servers documentation.

Configure Connected Accounts for Token Vault

After creating the connection, in the Purpose section, toggle on Connected Accounts for Token Vault. This allows your connection to retrieve and securely store access tokens for external APIs. To learn more, read Connected Accounts for Token Vault.
If your application uses Organizations, have the user sign in to the correct organization before you initiate the Connected Accounts flow. Token Vault still stores the connected account on the user’s Auth0 profile, so each organization member authorizes their own external account.

Learn more

  • Auth0 stores the access and refresh tokens for each connected account in the Token Vault. Applications can then access the Token Vault to retrieve access tokens to call external APIs. To learn more, read Configure Token Vault.
  • If your application uses Organizations, sign the user in to the correct organization before you initiate the Connected Accounts flow. Each user still connects their own external account.
  • Learn how to get an access token to make a tool call by completing the Call other’s APIs on user’s behalf quickstart.