mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-22 15:32:15 +00:00
# Which Problems Are Solved * v2 login ui was ignoring oicd `ui_locales` making it impossible to sync the login ui locale with the apps ui # How the Problems Are Solved - Read `uiLocales` from `authRequest` - check all listed if valid in ui - take the first valid one - set language cookie (if a valid locale is pressent in uiLocales) # Additional Changes - tests # Additional Context --------- Co-authored-by: Florian Forster <[email protected]> Co-authored-by: Max Peintner <[email protected]>
10 lines
477 B
Bash
10 lines
477 B
Bash
NEXT_PUBLIC_BASE_PATH=/ui/v2/login
|
|
EMAIL_VERIFICATION=false
|
|
ZITADEL_API_URL=http://localhost:8080
|
|
ZITADEL_SERVICE_USER_TOKEN_FILE=../../login-client.pat
|
|
|
|
# Whether ui_locales from OAuth requests should always override the language cookie.
|
|
# When set to "true", the language from ui_locales will always be used.
|
|
# When unset or set to "false", ui_locales only sets the language if no cookie exists (preserves user's manual selection).
|
|
# ZITADEL_UI_LOCALES_OVERRIDE_COOKIE=false
|