mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[PR #126] feat: Implement OIDC user management and authentication flow #157
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
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/pgbackweb#157
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/eduardolat/pgbackweb/pull/126
Author: @pascalinthecloud
Created: 7/18/2025
Status: 🔄 Open
Base:
develop← Head:feat/add-oidc-auth📝 Commits (2)
6dd6818feat: Implement OIDC user management and authentication flowa3b2103refactor: Remove flash message utility functions (dead code)📊 Changes
24 files changed (+1464 additions, -91 deletions)
View changed files
➕
OIDC_INTEGRATION.md(+180 -0)📝
cmd/app/main.go(+4 -1)📝
cmd/changepw/main.go(+1 -1)📝
go.mod(+9 -6)📝
go.sum(+20 -12)📝
internal/config/env.go(+11 -0)📝
internal/config/env_validate.go(+16 -0)➕
internal/database/migrations/20250708000000_add_oidc_support_to_users.sql(+35 -0)📝
internal/service/auth/cookies.go(+4 -0)📝
internal/service/auth/login.go(+5 -1)➕
internal/service/auth/login_oidc.go(+27 -0)➕
internal/service/oidc/oidc.go(+191 -0)➕
internal/service/oidc/oidc_test.go(+242 -0)➕
internal/service/oidc/queries.sql(+18 -0)📝
internal/service/service.go(+9 -2)📝
internal/service/users/create_user.go(+11 -2)📝
internal/service/users/users.go(+5 -0)📝
internal/view/middleware/inject_reqctx.go(+8 -5)📝
internal/view/web/auth/create_first_user.go(+2 -1)📝
internal/view/web/auth/login.go(+53 -3)...and 4 more files
📄 Description
Hi there,
I've added the functionality of single sign on via OIDC. I tested that feature for about a week and didn't come across any problems.
Here are some screenshots showing the implementation.
Summary by CodeRabbit
New Features
User Interface
Bug Fixes
Documentation
Chores
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.