[PR #50] [MERGED] Feat/OIDC middleware #151

Closed
opened 2025-12-29 14:25:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/yusing/godoxy/pull/50
Author: @yusing
Created: 1/19/2025
Status: Merged
Merged: 1/19/2025
Merged by: @yusing

Base: v0.8Head: feat/oidc-middleware


📝 Commits (8)

  • bb0ee5d implement OIDC middleware
  • 9aee310 auth code cleanup
  • c5e0ac6 allow override allowed_user in middleware, fix typos
  • b44c858 fix tests and callbackURL
  • b359543 update next release docs
  • 7a7c4be fix OIDC middleware not working with Authentik
  • abbe4ff feat: add groups support for OIDC claims (#41)
  • bde3eee merge feat/oidc-middleware (#49)

📊 Changes

86 files changed (+6685 additions, -1441 deletions)

View changed files

📝 .env.example (+19 -7)
📝 .gitignore (+2 -1)
📝 .vscode/settings.example.json (+2 -2)
📝 Dockerfile (+2 -2)
📝 Makefile (+26 -2)
📝 cmd/main.go (+12 -9)
📝 go.mod (+11 -11)
📝 go.sum (+20 -20)
📝 internal/api/handler.go (+15 -29)
📝 internal/api/v1/auth/auth.go (+21 -106)
internal/api/v1/auth/cookies.go (+0 -6)
📝 internal/api/v1/auth/oidc.go (+144 -60)
📝 internal/api/v1/auth/oidc_test.go (+333 -88)
internal/api/v1/auth/provider.go (+12 -0)
📝 internal/api/v1/auth/userpass.go (+104 -11)
internal/api/v1/auth/userpass_test.go (+116 -0)
internal/api/v1/auth/utils.go (+70 -0)
internal/api/v1/health.go (+18 -0)
internal/api/v1/mem_logger.go (+161 -0)
📝 internal/api/v1/schema.go (+1 -1)

...and 66 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/yusing/godoxy/pull/50 **Author:** [@yusing](https://github.com/yusing) **Created:** 1/19/2025 **Status:** ✅ Merged **Merged:** 1/19/2025 **Merged by:** [@yusing](https://github.com/yusing) **Base:** `v0.8` ← **Head:** `feat/oidc-middleware` --- ### 📝 Commits (8) - [`bb0ee5d`](https://github.com/yusing/godoxy/commit/bb0ee5d7a94b7c521d97e38b2464032ab15f52c1) implement OIDC middleware - [`9aee310`](https://github.com/yusing/godoxy/commit/9aee3108443a3696c2a18458118236234faef8d5) auth code cleanup - [`c5e0ac6`](https://github.com/yusing/godoxy/commit/c5e0ac6f38194b6127a959606f5ccde5b8b2d62a) allow override allowed_user in middleware, fix typos - [`b44c858`](https://github.com/yusing/godoxy/commit/b44c8586cce7165e53db406b8f320811986fbd60) fix tests and callbackURL - [`b359543`](https://github.com/yusing/godoxy/commit/b35954343468826a067bcc323e4c9351204f4920) update next release docs - [`7a7c4be`](https://github.com/yusing/godoxy/commit/7a7c4be9fa27aa998db4e8c930653acba23055d1) fix OIDC middleware not working with Authentik - [`abbe4ff`](https://github.com/yusing/godoxy/commit/abbe4ffcebce18373a03862ab8bbee873e66a08e) feat: add groups support for OIDC claims (#41) - [`bde3eee`](https://github.com/yusing/godoxy/commit/bde3eee232aefe660fd4c17aeb78ebcf12b64ca6) merge feat/oidc-middleware (#49) ### 📊 Changes **86 files changed** (+6685 additions, -1441 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+19 -7) 📝 `.gitignore` (+2 -1) 📝 `.vscode/settings.example.json` (+2 -2) 📝 `Dockerfile` (+2 -2) 📝 `Makefile` (+26 -2) 📝 `cmd/main.go` (+12 -9) 📝 `go.mod` (+11 -11) 📝 `go.sum` (+20 -20) 📝 `internal/api/handler.go` (+15 -29) 📝 `internal/api/v1/auth/auth.go` (+21 -106) ➖ `internal/api/v1/auth/cookies.go` (+0 -6) 📝 `internal/api/v1/auth/oidc.go` (+144 -60) 📝 `internal/api/v1/auth/oidc_test.go` (+333 -88) ➕ `internal/api/v1/auth/provider.go` (+12 -0) 📝 `internal/api/v1/auth/userpass.go` (+104 -11) ➕ `internal/api/v1/auth/userpass_test.go` (+116 -0) ➕ `internal/api/v1/auth/utils.go` (+70 -0) ➕ `internal/api/v1/health.go` (+18 -0) ➕ `internal/api/v1/mem_logger.go` (+161 -0) 📝 `internal/api/v1/schema.go` (+1 -1) _...and 66 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 14:25:42 +01:00
adam closed this issue 2025-12-29 14:25:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/godoxy-yusing#151