Skip to content

feat: add OIDC SSO login button#2051

Open
mxatmx wants to merge 1 commit into
cgwire:mainfrom
mxatmx:oidc-sso-upstream
Open

feat: add OIDC SSO login button#2051
mxatmx wants to merge 1 commit into
cgwire:mainfrom
mxatmx:oidc-sso-upstream

Conversation

@mxatmx

@mxatmx mxatmx commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

What

Shows a "Login with " button on the login page when OIDC is enabled in the backend config, mirroring the existing SAML button.

Changes

  • Login.vue: button guarded by mainConfig.oidc_enabled linking to /api/auth/oidc/login, with a loginOIDCButtonInfo computed label
  • i18n: add login_with_oidc / login_oidc keys across locales

Companion PR

Frontend half - requires the Zou backend PR cgwire/zou#1107 (OIDC routes + oidc_enabled / oidc_idp_name config flags). Merge together.

Show a "Login with <provider>" button on the login page when OIDC is enabled
in the backend config, mirroring the existing SAML button.

- Login.vue: button guarded by mainConfig.oidc_enabled linking to
  /api/auth/oidc/login, with a loginOIDCButtonInfo computed label
- i18n: add login_with_oidc / login_oidc keys (English source plus the
  translated locale files)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

# Conflicts:
#	src/locales/da.json
#	src/locales/es.json
#	src/locales/fa.json
#	src/locales/fr.json
#	src/locales/ja.json
#	src/locales/ko.json
#	src/locales/nl.json
#	src/locales/pt.json
#	src/locales/ru.json
#	src/locales/zh.json
#	src/locales/zh_tw.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant