[PR #897] [MERGED] Add Authentik IdP #14482

Closed
opened 2026-08-05 03:05:43 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/897
Author: @bcmmbaga
Created: 5/24/2023
Status: Merged
Merged: 5/29/2023
Merged by: @braginini

Base: mainHead: authentik-idp


📝 Commits (10+)

  • 1caf657 fetch token from authentik token endpoint
  • 40925db initialize authentik api client
  • 7816189 implement GetUserByEmail
  • 6940f6d sync dependencies
  • 5e476cd implement GetUserDataByID
  • 408c6da implement UpdateUserAppMetadata
  • 048c4b5 implement GetAccount
  • 45e1c4b implement GetAllAccounts
  • e103d66 implement CreateUser and getUserGroupByName to manage authentik users in netbird group
  • 89419ad add unit tests

📊 Changes

5 files changed (+873 additions, -24 deletions)

View changed files

📝 go.mod (+9 -6)
📝 go.sum (+20 -11)
management/server/idp/authentik.go (+516 -0)
management/server/idp/authentik_test.go (+305 -0)
📝 management/server/idp/idp.go (+23 -7)

📄 Description

Describe your changes

Added intergration with authentik user API.

Use the steps in authentik.md for configuration.

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/897 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 5/24/2023 **Status:** ✅ Merged **Merged:** 5/29/2023 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `authentik-idp` --- ### 📝 Commits (10+) - [`1caf657`](https://github.com/netbirdio/netbird/commit/1caf6570edff2992e90d378565947bff965b9040) fetch token from authentik token endpoint - [`40925db`](https://github.com/netbirdio/netbird/commit/40925db38bb2e2792f1edd364f5cb7e2f097dc40) initialize authentik api client - [`7816189`](https://github.com/netbirdio/netbird/commit/7816189690e2af49a91a142c241db167a3389690) implement GetUserByEmail - [`6940f6d`](https://github.com/netbirdio/netbird/commit/6940f6d953ea55e3448ef02cc0a45bce65dee84e) sync dependencies - [`5e476cd`](https://github.com/netbirdio/netbird/commit/5e476cd16e3fc8b83119d4db90dc9efe7ae0c26b) implement GetUserDataByID - [`408c6da`](https://github.com/netbirdio/netbird/commit/408c6da9f8dd0341a4630a716a41b6d1f2c82203) implement UpdateUserAppMetadata - [`048c4b5`](https://github.com/netbirdio/netbird/commit/048c4b576ace74d606f53c0207fb66e0b6d045a2) implement GetAccount - [`45e1c4b`](https://github.com/netbirdio/netbird/commit/45e1c4b02b4a06117faa67c7368dd3e064219586) implement GetAllAccounts - [`e103d66`](https://github.com/netbirdio/netbird/commit/e103d66886c5d0bacd9e5a8e513527611217fff7) implement CreateUser and getUserGroupByName to manage authentik users in netbird group - [`89419ad`](https://github.com/netbirdio/netbird/commit/89419ad805415f337769a3b63ed09145bbdc2c6f) add unit tests ### 📊 Changes **5 files changed** (+873 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+9 -6) 📝 `go.sum` (+20 -11) ➕ `management/server/idp/authentik.go` (+516 -0) ➕ `management/server/idp/authentik_test.go` (+305 -0) 📝 `management/server/idp/idp.go` (+23 -7) </details> ### 📄 Description ## Describe your changes Added intergration with authentik user API. Use the steps in [authentik.md](https://github.com/netbirdio/docs/pull/52/files#diff-4f558bee056573d91b97c5cb4ce33727ea6df64f8ea7e74458c936af677d4be0R702) for configuration. ## 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 --- <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:05:43 -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#14482