[PR #5993] feat: Add PKCE and JWKS support for upstream OIDC providers #27268

Open
opened 2026-08-05 07:08:27 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5993
Author: @assimilat
Created: 4/25/2026
Status: 🔄 Open

Base: mainHead: feature/upstream-pkce-jwks


📝 Commits (1)

  • eec67be feat: Add PKCE and JWKS support for upstream OIDC providers

📊 Changes

12 files changed (+22980 additions, -11 deletions)

View changed files

📝 idp/dex/connector.go (+23 -0)
📝 management/server/http/handlers/idp/idp_handler.go (+10 -1)
📝 management/server/http/handlers/idp/idp_handler_test.go (+11 -0)
📝 management/server/identity_provider.go (+4 -0)
📝 management/server/store/sql_store.go (+16 -4)
management/server/store/sql_store.go.orig (+5697 -0)
📝 management/server/types/identity_provider.go (+18 -3)
📝 shared/management/http/api/openapi.yml (+16 -0)
shared/management/http/api/openapi.yml.orig (+11752 -0)
📝 shared/management/http/api/types.gen.go (+12 -0)
shared/management/http/api/types.gen.go.orig (+5412 -0)
📝 util/crypt/crypt.go (+9 -3)

📄 Description

This PR adds support for configuring PKCE and JWKS URLs for upstream OIDC identity providers.

Summary by CodeRabbit

  • New Features
    • Identity providers now support PKCE (Proof Key for Code Exchange) configuration and custom JWKS URL endpoints for enhanced upstream OIDC integration.

🔄 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/netbirdio/netbird/pull/5993 **Author:** [@assimilat](https://github.com/assimilat) **Created:** 4/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/upstream-pkce-jwks` --- ### 📝 Commits (1) - [`eec67be`](https://github.com/netbirdio/netbird/commit/eec67be88d15f5c77adfe3aa87ca28435a681495) feat: Add PKCE and JWKS support for upstream OIDC providers ### 📊 Changes **12 files changed** (+22980 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `idp/dex/connector.go` (+23 -0) 📝 `management/server/http/handlers/idp/idp_handler.go` (+10 -1) 📝 `management/server/http/handlers/idp/idp_handler_test.go` (+11 -0) 📝 `management/server/identity_provider.go` (+4 -0) 📝 `management/server/store/sql_store.go` (+16 -4) ➕ `management/server/store/sql_store.go.orig` (+5697 -0) 📝 `management/server/types/identity_provider.go` (+18 -3) 📝 `shared/management/http/api/openapi.yml` (+16 -0) ➕ `shared/management/http/api/openapi.yml.orig` (+11752 -0) 📝 `shared/management/http/api/types.gen.go` (+12 -0) ➕ `shared/management/http/api/types.gen.go.orig` (+5412 -0) 📝 `util/crypt/crypt.go` (+9 -3) </details> ### 📄 Description This PR adds support for configuring PKCE and JWKS URLs for upstream OIDC identity providers. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Identity providers now support PKCE (Proof Key for Code Exchange) configuration and custom JWKS URL endpoints for enhanced upstream OIDC integration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 07:08:27 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#27268