Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b61498c
AIDX-237 Add new calls to sample apps
AdamWozniewski Oct 15, 2025
1aa9748
fix(langchain-fastapi-py): re-apply changes + reorg
pmalouin Nov 6, 2025
5b40041
fix(langchain-next-js): re-apply changes + reorg
pmalouin Nov 6, 2025
18a587d
fix(langchain-react-spa-js): drop some fixmes for SPA
pmalouin Nov 6, 2025
d333794
fix(vercel-ai-next-js): re-apply changes + reorg
pmalouin Nov 7, 2025
133563c
fix(client): drop some fixmes for SPA
pmalouin Nov 7, 2025
8d686e4
fix: revert changes under /your-api
pmalouin Nov 7, 2025
9f3d052
fix: reformatting code + missing lock file
pmalouin Nov 7, 2025
2428d7e
feat: bump all @auth0/ai* SDK versions to latest
pmalouin Nov 7, 2025
f1d53d2
feat: bump all @auth0/ai* SDK versions to latest (part 2)
pmalouin Nov 7, 2025
5d9c3ba
feat: bump auth0-spa-js to latest
pmalouin Nov 7, 2025
a934176
fix(langchain-next-js): make it really work
pmalouin Nov 7, 2025
206c044
fix(vercel-ai-next-js): make it really work
pmalouin Nov 7, 2025
fcaa7df
fix(langchain-react-spa-js): make it really work
pmalouin Nov 7, 2025
3a91813
fix(vercel-react-spa-js): make it really work
pmalouin Nov 7, 2025
2fbcbcf
Merge remote-tracking branch 'origin/main' into connected-accounts
pmalouin Nov 13, 2025
5c5c27f
fix: bump @auth0/ai to 5.1.1
pmalouin Nov 13, 2025
170ef88
fix: add proposal #3
pmalouin Nov 13, 2025
fac972d
fix: undo changes to rag samples
pmalouin Nov 13, 2025
5ab1710
fix: a bunch of incorrect docs links
pmalouin Nov 13, 2025
425c151
fix: new instructions for MRRT
pmalouin Nov 13, 2025
07c845a
fix: add note about Rotating RTs
pmalouin Nov 13, 2025
450827b
feat: bump @auth0/nextjs-auth0 and @auth0/auth0-spa-js to latest
pmalouin Nov 17, 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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ You can find a [hosted demo here](https://demo.auth0.ai/).

Samples are organized as below:

- [**authenticate-users**](https://auth0.com/ai/docs/user-authentication): Easily implement login experiences, tailor made for AI agents. Whether for chatbots or background agents.
- [**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.
- [**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.
- [**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.
- [**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.
- [**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.
- [**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.
- [**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.
- [**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.

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

To **exclude** an existing quickstart, within the `release-config.yml` file, switch `included` to `false`.
To **exclude** an existing quickstart, within the `release-config.yml` file, switch `included` to `false`.
2 changes: 1 addition & 1 deletion asynchronous-authorization/langchain-fastapi-py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Next, you'll need to set up environment variables in your repo's `.env` file. Co
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.

- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app.
- 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).
- 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).
- 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.

Next, install the required packages using your preferred package manager, e.g. uv:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You'll need to set up environment variables in your repo's `.env` file. Copy the
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.

- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app.
- 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).
- 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).
- 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.

Next, install the required packages using your preferred package manager, e.g. uv:
Expand Down
4 changes: 2 additions & 2 deletions asynchronous-authorization/langchain-next-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Next, you'll need to set up environment variables in your repo's `.env.local` fi

To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.
- 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.
- 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).
- 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).
- 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.

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

- [Tool Calling in AI Agents: Empowering Intelligent Automation Securely](https://auth0.com/blog/genai-tool-calling-intro/)
- [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/)
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/call-others-apis-on-users-behalf)
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/get-started/call-others-apis-on-users-behalf)

## About the template

Expand Down
39 changes: 20 additions & 19 deletions asynchronous-authorization/langchain-next-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions asynchronous-authorization/langchain-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"node": ">=20 <23"
},
"dependencies": {
"@auth0/ai-langchain": "^4.0.0",
"@auth0/nextjs-auth0": "^4.12.1",
"@auth0/ai-langchain": "^4.1.0",
"@auth0/nextjs-auth0": "^4.13.0",
"@langchain/community": "^0.3.55",
"@langchain/core": "^0.3.75",
"@langchain/langgraph": "^0.4.9",
Expand Down
4 changes: 2 additions & 2 deletions asynchronous-authorization/vercel-ai-next-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd auth0-ai-samples/asynchronous-authorization/vercel-ai-next-js
Next, you'll need to set up environment variables in your repo's `.env.local` file. Copy the `.env.example` file to `.env.local`.

- 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.
- 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).
- 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).
- 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.

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

- [Tool Calling in AI Agents: Empowering Intelligent Automation Securely](https://auth0.com/blog/genai-tool-calling-intro/)
- [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/)
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/call-others-apis-on-users-behalf)
- [Call Other's APIs on User's Behalf](https://auth0.com/ai/docs/get-started/call-others-apis-on-users-behalf)

## About the template

Expand Down
63 changes: 35 additions & 28 deletions asynchronous-authorization/vercel-ai-next-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions asynchronous-authorization/vercel-ai-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"dependencies": {
"@ai-sdk/openai": "2.0.24",
"@ai-sdk/react": "2.0.33",
"@auth0/ai": "^5.0.1",
"@auth0/ai-vercel": "^4.0.1",
"@auth0/nextjs-auth0": "^4.12.1",
"@auth0/ai": "^5.1.1",
"@auth0/ai-vercel": "^4.1.0",
"@auth0/nextjs-auth0": "^4.13.0",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
Expand Down
Loading