67 lines
2.4 KiB
Plaintext
67 lines
2.4 KiB
Plaintext
# # .env
|
|
|
|
# # A random string used to hash tokens, sign cookies, and generate cryptographic keys.
|
|
# # You can generate one here: https://generate-secret.vercel.app/32
|
|
# NUXT_AUTH_SECRET="your-super-secret-string-of-at-least-32-characters"
|
|
|
|
# # The base URL of your application
|
|
# AUTH_ORIGIN="http://localhost:3000"
|
|
|
|
# # Keycloak Credentials
|
|
# # Get these from your Keycloak client configuration
|
|
# KEYCLOAK_CLIENT_ID="nuxt-app"
|
|
# KEYCLOAK_CLIENT_SECRET="OaB90t1HEEFBn31PUX4qELWHwErnwFtg"
|
|
# KEYCLOAK_ISSUER="http://localhost:8080/realms/rssa-app"
|
|
|
|
|
|
# .env
|
|
|
|
# A random string used to hash tokens, sign cookies, and generate cryptographic keys.
|
|
# You can generate one here: https://generate-secret.vercel.app/32
|
|
NUXT_AUTH_SECRET="your-super-secret-string-of-at-least-32-characters"
|
|
|
|
# The base URL of your application
|
|
|
|
|
|
# Keycloak Credentials
|
|
# Get these from your Keycloak client configuration
|
|
# KEYCLOAK_CLIENT_ID="nuxt-app"
|
|
# KEYCLOAK_CLIENT_SECRET="OaB90t1HEEFBn31PUX4qELWHwErnwFtg"
|
|
# KEYCLOAK_ISSUER="http://localhost:8080/realms/rssa-app"
|
|
|
|
KEYCLOAK_CLIENT_ID="akbar-test"
|
|
KEYCLOAK_CLIENT_SECRET="FDyv3UYMgJOYPnvzXVVv6diRtcgEevKg"
|
|
KEYCLOAK_ISSUER="https://auth.rssa.top/realms/sandbox"
|
|
SESSION_DURATION_HOURS=1
|
|
OAUTH_STATE_DURATION_MINUTES=10
|
|
|
|
#AUTH ORIGIN UNTUK ACCESS APLIKASI login dari KEYCLOAK
|
|
# AUTH_ORIGIN="http://10.10.150.175:3000"
|
|
# AUTH_ORIGIN="0.0.0.0"
|
|
# AUTH_ORIGIN="http://localhost:3000"
|
|
AUTH_ORIGIN="https://antrean.dev.rssa.id"
|
|
# AUTH_ORIGIN="https://antrean.rssa.id"
|
|
|
|
#HOST UNTUK ACCESS APLIKASI
|
|
# HOST="http://localhost:3000"
|
|
# HOST="http://10.10.150.175:3000"
|
|
# HOST="https://antrean.rssa.id"
|
|
# HOST="https://antrean.dev.rssa.id"
|
|
HOST="0.0.0.0"
|
|
# HOST=
|
|
|
|
# Custom Keycloak logout endpoint UBAH SESUAI REALM DAN DOMAIN KEYCLOAK ANDA
|
|
KEYCLOAK_LOGOUT_URI="https://auth.rssa.top/realms/sandbox/protocol/openid-connect/logout"
|
|
|
|
# Pilih salah satu dari dua opsi di bawah ini sesuai kebutuhan Anda:
|
|
# digunakan untuk redirect setelah logout dari KEYCLOAK
|
|
# Untuk redirect tanpa query parameter:
|
|
# POST_LOGOUT_REDIRECT_URI="http://10.10.150.175:3000/LoginPage"
|
|
# POST_LOGOUT_REDIRECT_URI="http://localhost:3000/LoginPage"
|
|
POST_LOGOUT_REDIRECT_URI="https://antrean.dev.rssa.id/LoginPage"
|
|
# POST_LOGOUT_REDIRECT_URI=
|
|
|
|
# ATAU untuk redirect dengan query parameter:
|
|
# POST_LOGOUT_REDIRECT_URI="https://antrean.rssa.id/LoginPage?logout=success"
|
|
# POST_LOGOUT_REDIRECT_URI="https://antrean.dev.rssa.id/LoginPage?logout=success"
|