Skip to content

Commit 240ad42

Browse files
authored
Merge pull request #51 from auth0-samples/auth0-domain-fixes
fix: remove "https://" prefix for AUTH0_DOMAIN + tidying up
2 parents 0845e71 + 33137dd commit 240ad42

File tree

20 files changed

+68
-68
lines changed

20 files changed

+68
-68
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
APP_BASE_URL='http://localhost:8000'
1+
APP_BASE_URL="http://localhost:8000"
22

3-
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value'
4-
AUTH0_DOMAIN=''
5-
AUTH0_CLIENT_ID=''
6-
AUTH0_CLIENT_SECRET=''
3+
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
4+
AUTH0_DOMAIN="{yourDomain}"
5+
AUTH0_CLIENT_ID="{yourClientId}"
6+
AUTH0_CLIENT_SECRET="{yourClientSecret}"
77

8-
OPENAI_API_KEY=''
8+
OPENAI_API_KEY=""
99

1010
# LANGGRAPH
1111
LANGGRAPH_API_URL=http://localhost:54367
1212

1313
# Shop API URL
1414
# SHOP_API_URL="http://localhost:3001/api/shop"
15-
# SHOP_API_AUDIENCE="https://api.shop-online-demo.com"
15+
# SHOP_API_AUDIENCE="https://api.shop-online-demo.com"

asynchronous-authorization/langchain-next-js/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LANGCHAIN_CALLBACKS_BACKGROUND=false
44
# Auth0 configuration
55
APP_BASE_URL="http://localhost:3000"
66
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
7-
AUTH0_DOMAIN="https://{yourDomain}"
7+
AUTH0_DOMAIN="{yourDomain}"
88
AUTH0_CLIENT_ID="{yourClientId}"
99
AUTH0_CLIENT_SECRET="{yourClientSecret}"
1010
# Use your SHOP_API_AUDIENCE or a separate LangGraph API audience
@@ -29,4 +29,4 @@ LANGGRAPH_API_URL=http://localhost:54367
2929

3030
# Shop API URL
3131
# SHOP_API_URL=<your-shop-api-url>
32-
# SHOP_API_AUDIENCE=sample-shop-api
32+
# SHOP_API_AUDIENCE=sample-shop-api

asynchronous-authorization/vercel-ai-next-js/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ OPENAI_API_KEY="YOUR_API_KEY"
33
# Auth0 configuration
44
APP_BASE_URL="http://localhost:3000"
55
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
6-
AUTH0_DOMAIN="https://{yourDomain}"
6+
AUTH0_DOMAIN="{yourDomain}"
77
AUTH0_CLIENT_ID="{yourClientId}"
88
AUTH0_CLIENT_SECRET="{yourClientSecret}"
99

1010
# Database configuration
11-
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
11+
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
1212

1313
# Auth0 FGA
1414
# FGA_STORE_ID=<your-fga-store-id>

asynchronous-authorization/vercel-ai-node-js/.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Auth0
2-
AUTH0_DOMAIN="<auth0-domain>"
2+
AUTH0_DOMAIN="{yourDomain}"
33
# M2M Client for CIBA
4-
AUTH0_CLIENT_ID="<auth0-client-id>"
5-
AUTH0_CLIENT_SECRET="<auth0-client-secret>"
4+
AUTH0_CLIENT_ID="{yourClientId}"
5+
AUTH0_CLIENT_SECRET="{yourClientSecret}"
66

77
# API
88
STOCK_API_URL=http://localhost:8081/

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Copy the `.env.example` file to `.env` and fill in the values for the following
2525

2626
```sh
2727
# Auth0
28-
AUTH0_DOMAIN="<auth0-domain>"
29-
# Client for CIBA
30-
AUTH0_CLIENT_ID="<auth0-client-id>"
31-
AUTH0_CLIENT_SECRET="<auth0-client-secret>"
28+
AUTH0_DOMAIN="{yourDomain}"
29+
# M2M Client for CIBA
30+
AUTH0_CLIENT_ID="{yourClientId}"
31+
AUTH0_CLIENT_SECRET="{yourClientSecret}"
3232

3333
# API
3434
STOCK_API_URL=http://an-api-url
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
APP_BASE_URL='http://localhost:8000'
1+
APP_BASE_URL="http://localhost:8000"
22

3-
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value'
4-
AUTH0_DOMAIN=''
5-
AUTH0_CLIENT_ID=''
6-
AUTH0_CLIENT_SECRET=''
3+
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
4+
AUTH0_DOMAIN="{yourDomain}"
5+
AUTH0_CLIENT_ID="{yourClientId}"
6+
AUTH0_CLIENT_SECRET="{yourClientSecret}"
77

8-
OPENAI_API_KEY=''
8+
OPENAI_API_KEY=""

authenticate-users/langchain-fastapi-py/backend/.env.example

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
APP_BASE_URL='http://localhost:8000'
1+
APP_BASE_URL="http://localhost:8000"
22

3-
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value'
4-
AUTH0_DOMAIN=''
5-
AUTH0_CLIENT_ID=''
6-
AUTH0_CLIENT_SECRET=''
3+
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
4+
AUTH0_DOMAIN="{yourDomain}"
5+
AUTH0_CLIENT_ID="{yourClientId}"
6+
AUTH0_CLIENT_SECRET="{yourClientSecret}"
77

8-
OPENAI_API_KEY=''
8+
OPENAI_API_KEY=""
99

1010
# Database
1111
DATABASE_URL="postgresql+psycopg://postgres:postgres@localhost:5432/ai_documents_db"

authenticate-users/langchain-next-js/.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ LANGCHAIN_CALLBACKS_BACKGROUND=false
44
# Auth0 configuration
55
APP_BASE_URL="http://localhost:3000"
66
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
7-
AUTH0_DOMAIN="https://{yourDomain}"
7+
AUTH0_DOMAIN="{yourDomain}"
88
AUTH0_CLIENT_ID="{yourClientId}"
99
AUTH0_CLIENT_SECRET="{yourClientSecret}"
1010

1111
# Database configuration
12-
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
12+
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
1313

1414
# LANGGRAPH
1515
LANGGRAPH_API_URL=http://localhost:54367
@@ -22,4 +22,4 @@ LANGGRAPH_API_URL=http://localhost:54367
2222
# ANTHROPIC_API_KEY="YOUR_API_KEY"
2323

2424
# Turn on demo mode
25-
# NEXT_PUBLIC_DEMO="true"
25+
# NEXT_PUBLIC_DEMO="true"

authenticate-users/vercel-ai-next-js-starter/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ OPENAI_API_KEY="YOUR_API_KEY"
33
# Auth0 configuration
44
APP_BASE_URL="http://localhost:3000"
55
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
6-
AUTH0_DOMAIN="https://{yourDomain}"
6+
AUTH0_DOMAIN="{yourDomain}"
77
AUTH0_CLIENT_ID="{yourClientId}"
88
AUTH0_CLIENT_SECRET="{yourClientSecret}"
99

1010
# Database configuration
11-
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
11+
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
1212

1313
# Optional: Other model keys
1414
# ANTHROPIC_API_KEY="YOUR_API_KEY"

authenticate-users/vercel-ai-next-js/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ OPENAI_API_KEY="YOUR_API_KEY"
33
# Auth0 configuration
44
APP_BASE_URL="http://localhost:3000"
55
AUTH0_SECRET="use [openssl rand -hex 32] to generate a 32 bytes value"
6-
AUTH0_DOMAIN="https://{yourDomain}"
6+
AUTH0_DOMAIN="{yourDomain}"
77
AUTH0_CLIENT_ID="{yourClientId}"
88
AUTH0_CLIENT_SECRET="{yourClientSecret}"
99

1010
# Database configuration
11-
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
11+
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
1212

1313
# Optional: Other model keys
1414
# ANTHROPIC_API_KEY="YOUR_API_KEY"

0 commit comments

Comments
 (0)