forked from baron/baron-sso
ory스택 버전업 및 하드코딩URL 제거
This commit is contained in:
@@ -4,23 +4,18 @@ dsn: ${DSN}
|
||||
|
||||
serve:
|
||||
public:
|
||||
base_url: http://localhost:4433/
|
||||
base_url: ${KRATOS_BROWSER_URL}
|
||||
cors:
|
||||
enabled: true
|
||||
allowed_origins:
|
||||
- http://localhost:5173
|
||||
- http://localhost:5174
|
||||
- http://localhost:5175
|
||||
- http://localhost:5000
|
||||
- ${USERFRONT_URL}
|
||||
- ${ADMINFRONT_URL}
|
||||
- ${DEVFRONT_URL}
|
||||
- ${ORGFRONT_URL}
|
||||
- http://backend:3000
|
||||
- http://baron_backend:3000
|
||||
- https://ssologin.hmac.kr
|
||||
- https://sso-test.hmac.kr
|
||||
- https://app.brsw.kr
|
||||
- https://sss.hmac.kr
|
||||
- https://sso.hmac.kr
|
||||
admin:
|
||||
base_url: http://localhost:4434/
|
||||
base_url: ${KRATOS_ADMIN_URL}
|
||||
|
||||
session:
|
||||
cookie:
|
||||
@@ -29,21 +24,22 @@ session:
|
||||
path: /
|
||||
|
||||
selfservice:
|
||||
default_browser_return_url: http://localhost:5000/
|
||||
default_browser_return_url: ${KRATOS_UI_URL}
|
||||
allowed_return_urls:
|
||||
- http://baron_backend:3000
|
||||
- http://baron_backend:3000/
|
||||
- http://localhost:5000
|
||||
- https://app.brsw.kr
|
||||
- https://app.brsw.kr/
|
||||
- https://sss.hmac.kr
|
||||
- https://sss.hmac.kr/
|
||||
- https://sso.hmac.kr
|
||||
- https://sso.hmac.kr/
|
||||
- https://ssologin.hmac.kr
|
||||
- https://ssologin.hmac.kr/
|
||||
- https://sso-test.hmac.kr
|
||||
- https://sso-test.hmac.kr/
|
||||
- ${KRATOS_UI_URL}
|
||||
- ${KRATOS_UI_URL}/
|
||||
- ${USERFRONT_URL}
|
||||
- ${USERFRONT_URL}/
|
||||
- ${USERFRONT_URL}/ko
|
||||
- ${USERFRONT_URL}/ko/
|
||||
- ${USERFRONT_URL}/en
|
||||
- ${USERFRONT_URL}/en/
|
||||
- ${USERFRONT_URL}/auth/callback
|
||||
- ${USERFRONT_URL}/ko/auth/callback
|
||||
- ${USERFRONT_URL}/en/auth/callback
|
||||
- ${ADMINFRONT_URL}/auth/callback
|
||||
- ${DEVFRONT_URL}/auth/callback
|
||||
- ${ORGFRONT_URL}/auth/callback
|
||||
|
||||
methods:
|
||||
password:
|
||||
@@ -56,24 +52,24 @@ selfservice:
|
||||
|
||||
flows:
|
||||
error:
|
||||
ui_url: http://localhost:5000/error
|
||||
ui_url: ${KRATOS_UI_URL}/error
|
||||
settings:
|
||||
ui_url: http://localhost:5000/error?error=settings_disabled
|
||||
ui_url: ${KRATOS_UI_URL}/error?error=settings_disabled
|
||||
privileged_session_max_age: 15m
|
||||
recovery:
|
||||
ui_url: http://localhost:5000/recovery
|
||||
ui_url: ${KRATOS_UI_URL}/recovery
|
||||
use: code
|
||||
verification:
|
||||
ui_url: http://localhost:5000/verification
|
||||
ui_url: ${KRATOS_UI_URL}/verification
|
||||
use: code
|
||||
logout:
|
||||
after:
|
||||
default_browser_return_url: http://localhost:5000/login
|
||||
default_browser_return_url: ${KRATOS_UI_URL}/login
|
||||
login:
|
||||
ui_url: http://localhost:5000/login
|
||||
ui_url: ${KRATOS_UI_URL}/login
|
||||
lifespan: 10m
|
||||
registration:
|
||||
ui_url: http://localhost:5000/registration
|
||||
ui_url: ${KRATOS_UI_URL}/registration
|
||||
lifespan: 10m
|
||||
|
||||
log:
|
||||
|
||||
Reference in New Issue
Block a user