[PR #2060] Add mTLS support for SSO #18598

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

Original Pull Request: https://github.com/netbirdio/netbird/pull/2060

State: closed
Merged: No


Describe your changes

Adds ClientCertPath and ClientCertKey to the config, to provide mTLS credentials for IDP authentication.
A usecase is having your IDP behind a mTLS terminating reverse proxy, thus reducing the risk of 0 day exploits against your IDP and adding an extra step of authentication.
This is a feature that could be extended to cover netbird management as well.

I would be very happy to have someone more used to the code point out if something is miss placed.
Ideally this could be added to the UI and possibly to mobile clients as well, but i did not want to go poking in the UI code without even an idea if this would be approved.

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
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/2060 **State:** closed **Merged:** No --- ## Describe your changes Adds ClientCertPath and ClientCertKey to the config, to provide mTLS credentials for IDP authentication. A usecase is having your IDP behind a mTLS terminating reverse proxy, thus reducing the risk of 0 day exploits against your IDP and adding an extra step of authentication. This is a feature that could be extended to cover netbird management as well. I would be very happy to have someone more used to the code point out if something is miss placed. Ideally this could be added to the UI and possibly to mobile clients as well, but i did not want to go poking in the UI code without even an idea if this would be approved. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2026-08-05 04:08:42 -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#18598