mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[PR #1488] [MERGED] Support SSO login via OIDC #7087
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#7087
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/0xJacky/nginx-ui/pull/1488
Author: @Jraaay
Created: 12/15/2025
Status: ✅ Merged
Merged: 12/15/2025
Merged by: @0xJacky
Base:
dev← Head:feat/oidc📝 Commits (1)
e93e83ffeat: support oidc login📊 Changes
16 files changed (+373 additions, -42 deletions)
View changed files
📝
api/settings/settings.go(+3 -0)➕
api/user/oidc.go(+207 -0)📝
api/user/router.go(+3 -0)📝
app.example.ini(+8 -0)📝
app/src/api/auth.ts(+12 -0)📝
app/src/api/settings.ts(+10 -0)📝
app/src/views/other/Login.vue(+49 -6)📝
app/src/views/preference/store/index.ts(+8 -0)📝
docs/guide/env.md(+10 -0)📝
docs/zh_CN/guide/env.md(+11 -0)📝
docs/zh_TW/guide/env.md(+11 -0)📝
go.mod(+2 -1)📝
go.sum(+6 -33)➕
settings/oidc.go(+12 -0)📝
settings/settings.go(+2 -0)📝
settings/settings_test.go(+19 -2)📄 Description
This pull request adds support for OIDC (OpenID Connect) authentication to the application, allowing users to log in using an external OIDC provider. The changes include backend support for OIDC settings and authentication flow, frontend integration for OIDC login, and updates to settings management.
A config example are as follow:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.