[PR #2101] [CLOSED] The netbird management server was not handling signed id_tokens other that RSA type #14677

Open
opened 2026-08-05 03:06:06 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2101
Author: @HarryKodden
Created: 6/6/2024
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 0a64c63 add support for ECDSA signed tokens
  • 5f638a8 added support for ECDSA, textual changes
  • c737f0b solve conflicts

📊 Changes

2 files changed (+79 additions, -57 deletions)

View changed files

📝 management/server/http/middleware/auth_middleware.go (+1 -0)
📝 management/server/jwtclaims/jwtValidator.go (+78 -57)

📄 Description

Describe your changes

Added support for Elliptic Curve signed id_tokens

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/2101 **Author:** [@HarryKodden](https://github.com/HarryKodden) **Created:** 6/6/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`0a64c63`](https://github.com/netbirdio/netbird/commit/0a64c63e002b7c4cc4df52bd316a5b45855faecd) add support for ECDSA signed tokens - [`5f638a8`](https://github.com/netbirdio/netbird/commit/5f638a8284ba2904fab4f7e80313c560d39f1fd2) added support for ECDSA, textual changes - [`c737f0b`](https://github.com/netbirdio/netbird/commit/c737f0bccc5e1b71b06d954dcfa68a168587818a) solve conflicts ### 📊 Changes **2 files changed** (+79 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/middleware/auth_middleware.go` (+1 -0) 📝 `management/server/jwtclaims/jwtValidator.go` (+78 -57) </details> ### 📄 Description ## Describe your changes Added support for Elliptic Curve signed id_tokens ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 03:06:06 -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#14677