Skip to content

Commit bb6e36e

Browse files
authored
Merge pull request #43 from auth0-samples/connected-accounts
feat: add support for connected accounts
2 parents 10486fe + 450827b commit bb6e36e

File tree

117 files changed

+16971
-1421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+16971
-1421
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ You can find a [hosted demo here](https://demo.auth0.ai/).
66

77
Samples are organized as below:
88

9-
- [**authenticate-users**](https://auth0.com/ai/docs/user-authentication): Easily implement login experiences, tailor made for AI agents. Whether for chatbots or background agents.
10-
- [**call-apis-on-users-behalf**](https://auth0.com/ai/docs/call-others-apis-on-users-behalf): Use secure standards to get API tokens for Google, Github and more. Seamlessly integrate your app with other products.
11-
- [**authorization-for-rag**](https://auth0.com/ai/docs/authorization-for-rag): Only retrieve documents users have access to. Avoid leaking data to a user that should not have access to it.
12-
- [**asynchronous-authorization**](https://auth0.com/ai/docs/async-authorization): Let your autonomous, async agents do work in the background. Use Async Auth to request approval when needed.
9+
- [**authenticate-users**](https://auth0.com/ai/docs/get-started/user-authentication): Easily implement login experiences, tailor made for AI agents. Whether for chatbots or background agents.
10+
- [**call-apis-on-users-behalf**](https://auth0.com/ai/docs/get-started/call-others-apis-on-users-behalf): Use secure standards to get API tokens for Google, Github and more. Seamlessly integrate your app with other products.
11+
- [**authorization-for-rag**](https://auth0.com/ai/docs/get-started/authorization-for-rag): Only retrieve documents users have access to. Avoid leaking data to a user that should not have access to it.
12+
- [**asynchronous-authorization**](https://auth0.com/ai/docs/get-started/asynchronous-authorization): Let your autonomous, async agents do work in the background. Use Async Auth to request approval when needed.
1313
- [**auth-for-mcp**](./auth-for-mcp): Secure your MCP clients, servers, and gateways with robust user authentication, secure API access, spec-compliant client registration methods, and seamless token exchange.
1414

1515
[**Sign up for Auth0 AI**](https://auth0.com/signup?onboard_app=genai&ocid=7014z000001NyoxAAC-aPA4z0000008OZeGAM)
@@ -41,4 +41,4 @@ exclude_patterns:
4141
- "node_modules/.cache/*"
4242
```
4343

44-
To **exclude** an existing quickstart, within the `release-config.yml` file, switch `included` to `false`.
44+
To **exclude** an existing quickstart, within the `release-config.yml` file, switch `included` to `false`.

asynchronous-authorization/langchain-fastapi-py/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Next, you'll need to set up environment variables in your repo's `.env` file. Co
3535
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.
3636

3737
- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app.
38-
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/call-others-apis-on-users-behalf).
38+
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/get-started/asynchronous-authorization).
3939
- An Auth0 FGA account, you can create one [here](https://dashboard.fga.dev). Add the FGA store ID, client ID, client secret, and API URL to the `.env` file.
4040

4141
Next, install the required packages using your preferred package manager, e.g. uv:

asynchronous-authorization/langchain-fastapi-py/backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You'll need to set up environment variables in your repo's `.env` file. Copy the
99
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.
1010

1111
- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app.
12-
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/call-others-apis-on-users-behalf).
12+
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/get-started/asynchronous-authorization).
1313
- An Auth0 FGA account, you can create one [here](https://dashboard.fga.dev). Add the FGA store ID, client ID, client secret, and API URL to the `.env` file.
1414

1515
Next, install the required packages using your preferred package manager, e.g. uv:

asynchronous-authorization/langchain-next-js/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Next, you'll need to set up environment variables in your repo's `.env.local` fi
2323

2424
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.
2525
- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app and Machine to Machine App.
26-
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/call-others-apis-on-users-behalf).
26+
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/get-started/asynchronous-authorization).
2727
- An Auth0 FGA account, you can create one [here](https://dashboard.fga.dev). Add the FGA store ID, client ID, client secret, and API URL to the `.env.local` file.
2828

2929
Next, install the required packages using your preferred package manager and initialize the database.
@@ -68,7 +68,7 @@ Auth0's [Token Vault](https://auth0.com/docs/secure/tokens/token-vault) feature
6868

6969
- [Tool Calling in AI Agents: Empowering Intelligent Automation Securely](https://auth0.com/blog/genai-tool-calling-intro/)
7070
- [Build an AI Assistant with LangGraph, Vercel, and Next.js: Use Gmail as a Tool Securely](https://auth0.com/blog/genai-tool-calling-build-agent-that-calls-gmail-securely-with-langgraph-vercelai-nextjs/)
71-
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/call-others-apis-on-users-behalf)
71+
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/get-started/call-others-apis-on-users-behalf)
7272

7373
## About the template
7474

asynchronous-authorization/langchain-next-js/package-lock.json

Lines changed: 20 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asynchronous-authorization/langchain-next-js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"node": ">=20 <23"
2626
},
2727
"dependencies": {
28-
"@auth0/ai-langchain": "^4.0.0",
29-
"@auth0/nextjs-auth0": "^4.12.1",
28+
"@auth0/ai-langchain": "^4.1.0",
29+
"@auth0/nextjs-auth0": "^4.13.0",
3030
"@langchain/community": "^0.3.55",
3131
"@langchain/core": "^0.3.75",
3232
"@langchain/langgraph": "^0.4.9",

asynchronous-authorization/vercel-ai-next-js/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cd auth0-ai-samples/asynchronous-authorization/vercel-ai-next-js
2222
Next, you'll need to set up environment variables in your repo's `.env.local` file. Copy the `.env.example` file to `.env.local`.
2323

2424
- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app and Machine to Machine App.
25-
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/call-others-apis-on-users-behalf).
25+
- You can setup a new Auth0 tenant with an Auth0 Web App and Token Vault following the Prerequisites instructions [here](https://auth0.com/ai/docs/get-started/asynchronous-authorization).
2626
- Click on the tenant name on the [Quickstarts](https://auth0.com/ai/docs/call-your-apis-on-users-behalf), Go to the app settings (**Applications** -> **Applications** -> **WebApp Quickstart Client** -> **Settings** -> **Advanced Settings** -> **Grant Types**) and enable the CIBA grant and save.
2727

2828
Next, install the required packages using your preferred package manager and initialize the database.
@@ -67,7 +67,7 @@ Auth0's [Token Vault](https://auth0.com/docs/secure/tokens/token-vault) feature
6767

6868
- [Tool Calling in AI Agents: Empowering Intelligent Automation Securely](https://auth0.com/blog/genai-tool-calling-intro/)
6969
- [Build an AI Assistant with LangGraph, Vercel, and Next.js: Use Gmail as a Tool Securely](https://auth0.com/blog/genai-tool-calling-build-agent-that-calls-gmail-securely-with-langgraph-vercelai-nextjs/)
70-
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/call-others-apis-on-users-behalf)
70+
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/get-started/call-others-apis-on-users-behalf)
7171

7272
## About the template
7373

asynchronous-authorization/vercel-ai-next-js/package-lock.json

Lines changed: 35 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asynchronous-authorization/vercel-ai-next-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"dependencies": {
2424
"@ai-sdk/openai": "2.0.24",
2525
"@ai-sdk/react": "2.0.33",
26-
"@auth0/ai": "^5.0.1",
27-
"@auth0/ai-vercel": "^4.0.1",
28-
"@auth0/nextjs-auth0": "^4.12.1",
26+
"@auth0/ai": "^5.1.1",
27+
"@auth0/ai-vercel": "^4.1.0",
28+
"@auth0/nextjs-auth0": "^4.13.0",
2929
"@radix-ui/react-avatar": "^1.1.10",
3030
"@radix-ui/react-checkbox": "^1.3.3",
3131
"@radix-ui/react-dialog": "^1.1.15",

0 commit comments

Comments
 (0)