Files
baron_qa_write/wrangler.toml
T
root beaa2fc423
Deploy EG-BIM QA Gateway / deploy (push) Successful in 54s
feat: add account menu and redirect after Q&A logout
Add the top-right account icon with the signed-in name and logout link. Expire the Q&A session before redirecting to the configured inquiry homepage in both environments. Preserve login return URL checks and ignore request-controlled logout destinations.

Validation: 106 tests, syntax checks, and mocked Chromium desktop/mobile regressions pass, including session-cookie removal and the destination navigation request with external networking blocked.
2026-11-02 14:18:23 +09:00

44 lines
1.4 KiB
TOML

name = "baron-qa-gateway-test"
main = "src/index.js"
compatibility_date = "2026-09-18"
account_id = "81fa2d48964d31dd0da9558f9ce601d1"
preview_urls = false
routes = [
{ pattern = "qa-test.baroncs.co.kr", custom_domain = true }
]
[vars]
AUTH_REDIRECT_URI = "https://qa-test.baroncs.co.kr/auth/callback"
AUTH_POST_LOGOUT_REDIRECT_URI = "https://test.baroncs.co.kr/ko/sw-inquiry.html"
AUTH_SCOPE = "openid tenants profile email"
AUTH_CLIENT_ID = "e16898a7-acd2-420a-a224-cdcd89ff66cd"
AUTH_AUTHORIZE_URL = "https://sso.hmac.kr/oidc/oauth2/auth"
AUTH_TOKEN_URL = "https://sso.hmac.kr/oidc/oauth2/token"
AUTH_USERINFO_URL = "https://sso.hmac.kr/oidc/userinfo"
SESSION_COOKIE_NAME = "baron_qa_session_v2"
OAUTH_COOKIE_NAME = "baron_qa_oauth_v2"
SESSION_TTL_SECONDS = "3600"
ORG_CONTEXT_ENABLED = "false"
ABC_API_BASE_URL = "https://feedback.hmac.kr"
ABC_PROJECT_ID = "01a0ae3f-fcf6-74b5-bdc4-70d942d6ad72"
ABC_CHANNEL_ID = "01a0ae40-51c2-7647-a93c-0249b3759777"
ABC_SOURCE_NAMESPACE = "EGBIM_QA"
ABC_IDEMPOTENCY_CONSUMER = "EGBIM_QA"
PUBLIC_EXACT_PATHS = "/,/index.html,/favicon.ico"
PUBLIC_PREFIXES = "/egbim/,/tova/,/gaia/,/shared/,/assets/,/auth/"
PROTECTED_PREFIXES = "/egbim/,/tova/,/gaia/"
PROTECTED_EXACT_PATHS = "/egbim/write.html,/egbim/detail.html"
INTERNAL_ONLY_PREFIXES = "/protected/"
[[r2_buckets]]
binding = "QA_BUCKET"
bucket_name = "baron-qa-pages"
[observability]
enabled = true
[observability.logs]
enabled = true