mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 22:30:47 +01:00
[PR #39] [MERGED] feat: Add optional OIDC support #146
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/39
Author: @yusing
Created: 1/12/2025
Status: ✅ Merged
Merged: 1/12/2025
Merged by: @yusing
Base:
v0.8← Head:feat/oauth-oidc📝 Commits (1)
e759510feat: Add optional OIDC support📊 Changes
10 files changed (+460 additions, -6 deletions)
View changed files
📝
.env.example(+10 -0)📝
cmd/main.go(+7 -1)📝
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)📄 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.