mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 07:33:36 +01:00
[PR #38] [CLOSED] feat: Add optional OIDC support #145
Reference in New Issue
Block a user
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/yusing/godoxy/pull/38
Author: @polds
Created: 1/12/2025
Status: ❌ Closed
Base:
v0.8← Head:v0.8📝 Commits (1)
2180ae3feat: Add optional OIDC support📊 Changes
11 files changed (+471 additions, -17 deletions)
View changed files
📝
.env.example(+10 -0)📝
cmd/main.go(+10 -5)📝
go.mod(+2 -1)📝
go.sum(+2 -0)📝
internal/api/handler.go(+3 -0)📝
internal/api/v1/auth/auth.go(+38 -4)➕
internal/api/v1/auth/oidc.go(+176 -0)➕
internal/api/v1/auth/oidc_test.go(+203 -0)📝
internal/common/env.go(+6 -0)➕
internal/common/random.go(+13 -0)📝
internal/config/config.go(+8 -7)📄 Description
This allows the API to trigger an OAuth workflow to create the JWT for authentication. For now the workflow is triggered by manually visiting
/api/login/oidcon the frontend app until the UI repo is updated to add support.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.