Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
53a4b08
Update account linking with connected accounts
lrzhou25 Oct 17, 2025
a98336b
Remove mentions of client-initiated account linking
lrzhou25 Oct 17, 2025
783ce48
Update google social connection prereqs to configure connected accounts
lrzhou25 Oct 17, 2025
d91f63c
Updated with purpose setting for integrations
lrzhou25 Oct 17, 2025
9676b56
Updated integrations page
lrzhou25 Oct 17, 2025
25a73c9
Updated call others apis prereqs
lrzhou25 Oct 21, 2025
bc81c3e
Edited prereq steps
lrzhou25 Oct 21, 2025
6b7e83d
Remove client-initiated account linking diagram
lrzhou25 Oct 21, 2025
23c1629
feat: [AIDX-130] add notification channel settings content updates (#…
priley86 Nov 5, 2025
287e62e
Removed authorization_params from Connected Flow
lrzhou25 Nov 12, 2025
02bd70c
Updated integrations with offline_access behavior and other fixes
lrzhou25 Nov 17, 2025
dc70c73
Added openid to google code sample
lrzhou25 Nov 17, 2025
3d69564
Update connected accounts snippets & steps
eduwp90 Nov 12, 2025
d9dfc8e
Leave enterprise connections unnaffected
eduwp90 Nov 17, 2025
2e85f8d
Update offline access step on some of the providers
eduwp90 Nov 17, 2025
fcfdad0
Merge branch 'feat/connected_accounts_doc_updates' into fix/connected…
pmalouin Nov 17, 2025
208f1dd
Update account linking with connected accounts
lrzhou25 Oct 17, 2025
d407fde
Remove mentions of client-initiated account linking
lrzhou25 Oct 17, 2025
a149f5d
Update google social connection prereqs to configure connected accounts
lrzhou25 Oct 17, 2025
77e8fa4
Updated with purpose setting for integrations
lrzhou25 Oct 17, 2025
3ceed4f
Updated integrations page
lrzhou25 Oct 17, 2025
8c1a4d9
Updated call others apis prereqs
lrzhou25 Oct 21, 2025
6d06384
Edited prereq steps
lrzhou25 Oct 21, 2025
089609f
Remove client-initiated account linking diagram
lrzhou25 Oct 21, 2025
30d950a
feat: [AIDX-130] add notification channel settings content updates (#…
priley86 Nov 5, 2025
4d0c5ca
Removed authorization_params from Connected Flow
lrzhou25 Nov 12, 2025
6108030
Updated integrations with offline_access behavior and other fixes
lrzhou25 Nov 17, 2025
9139e77
Added openid to google code sample
lrzhou25 Nov 17, 2025
797c94a
Connected Accounts, quickstart doc updates (#271)
priley86 Nov 17, 2025
3a9f5bf
Added Connected Accounts and removed account linking
lrzhou25 Nov 17, 2025
1e553f2
Added Connected Accounts intro to My Account API prereq
lrzhou25 Nov 17, 2025
ee28a36
Fixed broken links
lrzhou25 Nov 17, 2025
00fc0a2
Update auth4genai/intro/token-vault.mdx
lrzhou25 Nov 17, 2025
821b98a
Update call-others-apis-on-users-behalf.mdx
lrzhou25 Nov 17, 2025
ac5d1df
Apply suggestion from @priley86
lrzhou25 Nov 18, 2025
7df504a
Apply suggestion from @priley86
lrzhou25 Nov 18, 2025
a478059
Update token vault snippets with optional scopes
eduwp90 Nov 18, 2025
ea13e50
Merge remote-tracking branch 'upstream/feat/connected_accounts_doc_up…
eduwp90 Nov 18, 2025
69b8ded
Update MS Entra snippet
eduwp90 Nov 18, 2025
7e4754f
Update Google Workspace snippet
eduwp90 Nov 18, 2025
cb3d87e
Merge pull request #297 from eduwp90/fix/connected-accounts-code-snip…
pmalouin Nov 18, 2025
d4f6bd3
Merge branch 'main' into feat/connected_accounts_doc_updates
pmalouin Nov 18, 2025
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
8 changes: 0 additions & 8 deletions auth4genai/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"pages": [
"intro/token-vault",
"intro/integrations",
"intro/account-linking",
"intro/call-others-apis-on-users-behalf"
]
},
Expand Down Expand Up @@ -88,13 +87,6 @@
"icon": "robot",
"pages": ["sample-apps"]
},
{
"group": "Guides",
"icon": "graduation-cap",
"pages": [
"guides/client-initiated-account-linking"
]
},
{
"group": "Glossary",
"icon": "compass",
Expand Down
6 changes: 3 additions & 3 deletions auth4genai/get-started/call-others-apis-on-users-behalf.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Use Auth0 SDKs to fetch access tokens for social and enterprise identity provide

By the end of this quickstart, you should have an AI application integrated with Auth0 that can:

1. Retrieve access tokens for a Google social connection.
2. Integrate with an AI agent to call Google APIs.
1. Initiate a Connected Accounts flow that will allow the user to connect their Google account and grant access to the AI agent.
2. Retrieve access tokens for a Google social connection.
3. Integrate with an AI agent to call Google APIs.

## Pick your tech stack

Expand Down Expand Up @@ -50,5 +51,4 @@ By the end of this quickstart, you should have an AI application integrated with
You have successfully added the ability to get access tokens for tool calling to your application. For next steps:

- [Call your APIs on user's behalf docs](/intro/call-your-apis-on-users-behalf).
- Learn more about [Client-initiated account linking](/guides/client-initiated-account-linking).
- Learn more about how Auth0's [Token Vault](https://auth0.com/docs/secure/tokens/token-vault) manages the tokens of supported identity providers.
100 changes: 0 additions & 100 deletions auth4genai/guides/client-initiated-account-linking.mdx

This file was deleted.

6 changes: 3 additions & 3 deletions auth4genai/integrations/basecamp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Connect your AI agent to a user's Basecamp account to create new projects, add t

To configure the Token Vault for your Basecamp connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Basecamp"
connectionName="basecamp"
scopes={["profile"]}
scopes={[]}
/>

<NextStepsBlock />
<NextStepsBlock />
6 changes: 3 additions & 3 deletions auth4genai/integrations/bitbucket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Connect your AI agent to Bitbucket to manage repositories, automate pull request

To configure the Token Vault for your Bitbucket connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Bitbucket"
connectionName="bitbucket"
scopes={["profile"]}
scopes={[]}
/>

<NextStepsBlock />
<NextStepsBlock />
40 changes: 21 additions & 19 deletions auth4genai/integrations/box.mdx
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
---
title: Box
description: "Connect your AI Agents to Box for file management and collaboration."
---

import FindDomainInfoBlock from "/snippets/common/find-domain-info-block.mdx";
import AddConnectionInAuth0 from "/snippets/integrations/add-connection-auth0.mdx";
import LearnMore from "/snippets/integrations/learn-more.mdx";
import { IntegrationInfoBlock } from "/snippets/integrations/IntegrationInfoBlock.jsx";
import { Auth0SetupBlock } from "/snippets/integrations/Auth0SetupBlock.jsx";
import { TokenVaultConfigBlock } from "/snippets/integrations/TokenVaultConfigBlock.jsx";
import NextStepsBlock from "/snippets/integrations/next-step.mdx";

The Box integration enables your AI Agents to authenticate users with their Box accounts and access their file storage.
Connect your AI Agents to Box for file management and collaboration.

## Overview

Box is an enterprise-focused cloud storage and collaboration platform. This integration allows AI agents to securely access, manage, and collaborate on files stored in Box, making it ideal for business applications that need document management capabilities.

## Configuration
## Connect Box to Auth0

<Steps>
<Step title="Set up app in Box">
<Step title="Box Setup">

1. Sign up for a [Box Developer account](https://developers.box.com/)
2. Set up an app using Box's [Custom Apps: Setup with OAuth 2.0](https://developer.box.com/guides/applications/custom-apps/oauth2-setup/) documentation
3. Note your **Client ID** and **Client Secret**

</Step>
<Step title="Configure for Auth0">

1. Use the following settings when configuring your app:
- Redirect URI: `https://YOUR_AUTH0_DOMAIN/login/callback`
- Application Scopes: Select the permissions you want to enable for this connection.
<FindDomainInfoBlock />

<Step title="Auth0 setup">
<Auth0SetupBlock providerName="Box" scopesName="Attributes" allowFreeFormScopes={true} />
</Step>
</Steps>

<AddConnectionInAuth0 />
<IntegrationInfoBlock providerName="Box" />

## Token Vault configuration example

To configure the Token Vault for your Box connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
providerName="Box"
connectionName="box"
scopes={[]}
/>

<LearnMore />
<NextStepsBlock />
8 changes: 5 additions & 3 deletions auth4genai/integrations/digitalocean.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Connect your AI agent to a user's DigitalOcean account to automate the creation
5. Click **Register OAuth Application** and note your **Client ID** and **Client Secret**.

To learn more about DigitalOcean OAuth setup, read the [DigitalOcean OAuth API documentation](https://docs.digitalocean.com/reference/api/oauth/).

</Step>
<Step title="Auth0 setup">
<Auth0SetupBlock providerName="DigitalOcean" scopesName="Scopes" allowFreeFormScopes={true} />
Expand All @@ -38,10 +39,11 @@ Connect your AI agent to a user's DigitalOcean account to automate the creation

To configure the Token Vault for your DigitalOcean connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="DigitalOcean"
connectionName="digitalocean"
scopes={["account:read", "droplet:create", "kubernetes:read"]}
scopes={["account:read"]}
optionalScopes={["droplet:create", "kubernetes:read"]}
/>

<NextStepsBlock />
<NextStepsBlock />
8 changes: 4 additions & 4 deletions auth4genai/integrations/discord.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Connect your AI agent to a Discord server to welcome new members, play music, ma
5. Set permissions/scopes you need:
- For basic login, the **identify** scope is generally required to get basic user information
6. Save changes

To learn more about setting up Discord, read the [Login with Discord documentation](https://discord.com/developers/docs/topics/oauth2).
</Step>
<Step title="Auth0 setup">
Expand All @@ -37,10 +37,10 @@ Connect your AI agent to a Discord server to welcome new members, play music, ma

To configure the Token Vault for your Discord connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Discord"
connectionName="discord"
scopes={["identify"]}
scopes={["email","identify"]}
/>

<NextStepsBlock />
<NextStepsBlock />
8 changes: 4 additions & 4 deletions auth4genai/integrations/dropbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Connect your AI agent to a user's Dropbox account to automatically organize file
To learn more about setting up Dropbox, read the [Developer guide for Dropbox documentation](https://www.dropbox.com/developers/documentation/http/documentation).
</Step>
<Step title="Auth0 setup">
<Auth0SetupBlock providerName="Dropbox" scopesName="Attributes" />
<Auth0SetupBlock providerName="Dropbox" scopesName="Attributes" allowOfflineAccess={true} />
</Step>
</Steps>

Expand All @@ -42,10 +42,10 @@ Connect your AI agent to a user's Dropbox account to automatically organize file

To configure the Token Vault for your Dropbox connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Dropbox"
connectionName="dropbox"
scopes={["profile","offline"]}
scopes={["account_info.read"]}
/>

<NextStepsBlock />
<NextStepsBlock />
5 changes: 3 additions & 2 deletions auth4genai/integrations/figma.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ Connect your AI agent to a user's Figma account to export assets, apply changes

To configure the Token Vault for your Figma connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Figma"
connectionName="figma"
scopes={["current_user:read", "file_content:read", "file_comments:write"]}
scopes={["current_user:read"]}
optionalScopes={["file_content:read", "file_comments:write"]}
/>

<NextStepsBlock />
7 changes: 4 additions & 3 deletions auth4genai/integrations/fitbit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ Connect your AI agent to a user's Fitbit account to track fitness data, log acti

To configure the Token Vault for your Fitbit connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
<TokenVaultConfigBlock
providerName="Fitbit"
connectionName="fitbit"
scopes={["profile","activity"]}
scopes={["profile"]}
optionalScopes={["activity"]}
/>

<NextStepsBlock />
<NextStepsBlock />
47 changes: 42 additions & 5 deletions auth4genai/integrations/freshbooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,47 @@ Connect your AI agent to a user's FreshBooks account to create and send invoices

To configure the Token Vault for your FreshBooks connection, you can use the following code snippet in your application:

<TokenVaultConfigBlock
providerName="Freshbooks"
connectionName="freshbooks"
scopes={["user:profile:read", "user:clients:read", "user:invoices:read"]}
/>
<Tabs>
<Tab title="JavaScript" icon="js">
```tsx wrap lines
const auth0AI = new Auth0AI();

export const withFreshbooksConnection = auth0AI.withTokenVault({
connection: "freshbooks",
scopes: [
// required scopes for Token Vault
"user:profile:read",
// optional scopes specific to your app
...
],
refreshToken: getAuth0RefreshToken(),
authorizationParams: {
prompt: "login",
},
});
```

</Tab>
<Tab title="Python" icon="python">
```python wrap lines
auth0_ai = Auth0AI()

with_freshbooks_connection = auth0_ai.with_token_vault(
connection="freshbooks",
scopes=[
# required scopes for Token Vault
"user:profile:read",
# optional scopes specific to your app
...
],
refresh_token=get_auth0_refresh_token,
authorization_params={
"prompt": "login",
},
)
```

</Tab>
</Tabs>

<NextStepsBlock />
Loading