forked from baron/baron-sso
Render Kratos return URLs for staging
This commit is contained in:
@@ -4,7 +4,7 @@ dsn: ${KRATOS_DSN}
|
||||
|
||||
serve:
|
||||
public:
|
||||
base_url: http://localhost:4433/
|
||||
base_url: ${KRATOS_BROWSER_URL:-http://localhost:4433/}
|
||||
cors:
|
||||
enabled: true
|
||||
allowed_origins:
|
||||
@@ -15,7 +15,7 @@ serve:
|
||||
- http://backend:3000
|
||||
- http://baron_backend:3000
|
||||
admin:
|
||||
base_url: http://localhost:4434/
|
||||
base_url: ${KRATOS_ADMIN_URL:-http://localhost:4434/}
|
||||
|
||||
session:
|
||||
cookie:
|
||||
@@ -24,20 +24,9 @@ session:
|
||||
path: /
|
||||
|
||||
selfservice:
|
||||
default_browser_return_url: http://localhost:5000/
|
||||
default_browser_return_url: ${KRATOS_UI_URL:-http://localhost:5000/}
|
||||
allowed_return_urls:
|
||||
- http://localhost:5000
|
||||
- http://localhost:5000/
|
||||
- http://localhost:5000/ko
|
||||
- http://localhost:5000/ko/
|
||||
- http://localhost:5000/en
|
||||
- http://localhost:5000/en/
|
||||
- http://localhost:5000/auth/callback
|
||||
- http://localhost:5000/ko/auth/callback
|
||||
- http://localhost:5000/en/auth/callback
|
||||
- http://localhost:5173/auth/callback
|
||||
- http://localhost:5174/auth/callback
|
||||
- http://localhost:5175/auth/callback
|
||||
${KRATOS_ALLOWED_RETURN_URLS_YAML}
|
||||
|
||||
methods:
|
||||
password:
|
||||
@@ -50,24 +39,24 @@ selfservice:
|
||||
|
||||
flows:
|
||||
error:
|
||||
ui_url: http://localhost:5000/error
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/error
|
||||
settings:
|
||||
ui_url: http://localhost:5000/error?error=settings_disabled
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/error?error=settings_disabled
|
||||
privileged_session_max_age: 15m
|
||||
recovery:
|
||||
ui_url: http://localhost:5000/recovery
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/recovery
|
||||
use: code
|
||||
verification:
|
||||
ui_url: http://localhost:5000/verification
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/verification
|
||||
use: code
|
||||
logout:
|
||||
after:
|
||||
default_browser_return_url: http://localhost:5000/login
|
||||
default_browser_return_url: ${KRATOS_UI_URL:-http://localhost:5000}/login
|
||||
login:
|
||||
ui_url: http://localhost:5000/login
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/login
|
||||
lifespan: 10m
|
||||
registration:
|
||||
ui_url: http://localhost:5000/registration
|
||||
ui_url: ${KRATOS_UI_URL:-http://localhost:5000}/registration
|
||||
lifespan: 10m
|
||||
|
||||
log:
|
||||
|
||||
Reference in New Issue
Block a user