Fix Auth0 domain: add .us. region prefix
This commit is contained in:
parent
bbdbc0c1df
commit
e8919fc985
@ -9,10 +9,10 @@ APP_URL=https://moxiegen.client.guacamolebox.net
|
||||
CORS_ORIGIN=https://moxiegen.client.guacamolebox.net
|
||||
|
||||
# Auth0 Configuration
|
||||
AUTH0_DOMAIN=dev-t13zhs74oltgqtfxf.auth0.com
|
||||
AUTH0_DOMAIN=dev-t13zhs74oltgqtfx.us.auth0.com
|
||||
AUTH0_CLIENT_ID=your-client-id-here
|
||||
AUTH0_CLIENT_SECRET=your-client-secret-here
|
||||
AUTH0_AUDIENCE=https://dev-t13zhs74oltgqtfxf.auth0.com/api/v2/
|
||||
AUTH0_AUDIENCE=https://dev-t13zhs74oltgqtfx.us.auth0.com/api/v2/
|
||||
|
||||
# Stripe Configuration (for future use)
|
||||
STRIPE_SECRET_KEY=sk_test_xxx
|
||||
|
||||
@ -18,7 +18,7 @@ const app = express();
|
||||
const PORT = process.env.PORT || 9991;
|
||||
|
||||
// Auth0 configuration
|
||||
const AUTH0_DOMAIN = process.env.AUTH0_DOMAIN || 'dev-t13zhs74oltgqtfxf.auth0.com';
|
||||
const AUTH0_DOMAIN = process.env.AUTH0_DOMAIN || 'dev-t13zhs74oltgqtfx.us.auth0.com';
|
||||
const AUTH0_CLIENT_ID = process.env.AUTH0_CLIENT_ID;
|
||||
|
||||
// ============================================
|
||||
|
||||
@ -7,7 +7,7 @@ import { generateId } from '../utils/helpers.js';
|
||||
const SALT_ROUNDS = 12;
|
||||
|
||||
// Auth0 configuration from environment
|
||||
const AUTH0_DOMAIN = process.env.AUTH0_DOMAIN || 'dev-t13zhs74oltgqtfxf.auth0.com';
|
||||
const AUTH0_DOMAIN = process.env.AUTH0_DOMAIN || 'dev-t13zhs74oltgqtfx.us.auth0.com';
|
||||
const AUTH0_AUDIENCE = process.env.AUTH0_AUDIENCE || `https://${AUTH0_DOMAIN}/api/v2/`;
|
||||
const AUTH0_CLIENT_ID = process.env.AUTH0_CLIENT_ID;
|
||||
const AUTH0_CLIENT_SECRET = process.env.AUTH0_CLIENT_SECRET;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user