Add links

This commit is contained in:
William Fu-Hinthorn
2024-12-18 01:06:01 -08:00
parent b85c9961d7
commit 30e647abce
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ In this tutorial, we will build a chatbot that only lets specific users access i
1. Basic Authentication (you are here) - Control who can access your bot
2. [Resource Authorization](resource_auth.md) - Let users have private conversations
3. [Production Auth](supabase_auth.md) - Add real user accounts and validate using OAuth2
3. [Production Auth](add_auth_server.md) - Add real user accounts and validate using OAuth2
## Setting up our project
@@ -36,7 +36,7 @@ Now that we've seen the base LangGraph app, let's add authentication to it!
## Adding Authentication
The `Auth` object lets you register an authentication function that the LangGraph platform will run on every request. This function receives each request and decides whether to accept or reject.
The [`Auth`](../../cloud/reference/sdk/python_sdk_ref.md#langgraph_sdk.auth.Auth) object lets you register an authentication function that the LangGraph platform will run on every request. This function receives each request and decides whether to accept or reject.
Create a new file `src/security/auth.py`. This is where we'll our code will live to check if users are allowed to access our bot:
+1 -1
View File
@@ -81,4 +81,4 @@ Add custom authentication and authorization to an existing LangGraph Platform de
1. [Setting Up Custom Authentication](./auth/getting_started.md): Implement OAuth2 authentication to authorize users on your deployment
2. [Resource Authorization](./auth/resource_auth.md): Let users have private conversations
3. [Connecting an Authentication Provider](./auth/supabase_auth.md): Add real user accounts and validate using OAuth2
3. [Connecting an Authentication Provider](./auth/add_auth_server.md): Add real user accounts and validate using OAuth2