-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (45 loc) · 2.32 KB
/
Copy path.env.example
File metadata and controls
55 lines (45 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -----------------------------------------------------------------------------
# App Configuration
# -----------------------------------------------------------------------------
# Secret key used to encrypt session cookies and secure the application.
# MUST be a long, random string. Generate a secure key using:
# php artisan key:generate
APP_KEY=
# The environment in which the application is running.
# Set to 'production' on your live server.
APP_ENV=local
# Enable debug mode for development. Set to false in production.
APP_DEBUG=true
# The base URL of your application. Used for generating absolute URLs.
# In development: http://localhost:3000
# In production: https://yourdomain.com
SERVER_URL="http://localhost:3000"
# The network port on which the Laravel server will listen for incoming
# connections. Change this if port 3000 is already in use on your system.
PORT=3000
# Database connection type
DB_CONNECTION=sqlite
# -----------------------------------------------------------------------------
# ZITADEL OpenID Connect (OIDC) Configuration
# -----------------------------------------------------------------------------
# The full domain URL of your ZITADEL instance. You can find this in your
# ZITADEL organization's settings.
# Example: https://my-org-a1b2c3.zitadel.cloud
ZITADEL_DOMAIN="https://your-zitadel-domain"
# The unique Client ID for your application, obtained from the ZITADEL Console.
# This identifier tells ZITADEL which application is making the request.
ZITADEL_CLIENT_ID="your-zitadel-application-client-id"
# While the Authorization Code Flow with PKCE for public clients does not
# strictly require a client secret for OIDC specification compliance, Laravel
# Socialite will still require a value for its internal configuration.
# Generate a secure key using:
# php -r "echo bin2hex(random_bytes(32));"
ZITADEL_CLIENT_SECRET="your-randomly-generated-client-secret"
# The internal URL within your application where users are sent after a
# successful login is processed at the callback URL.
# Defaults to "/profile" if not specified.
ZITADEL_POST_LOGIN_URL="/profile"
# The full URL where ZITADEL redirects the user after they have logged out.
# This MUST exactly match one of the "Post Logout Redirect URIs" configured
# in your ZITADEL application settings.
ZITADEL_POST_LOGOUT_URL="http://localhost:3000/auth/logout/callback"