[PR #5483] [self-hosted] migrate to new IdP handling #28021

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5483
Author: @shuuri-labs
Created: 3/2/2026
Status: 🔄 Open

Base: mainHead: feat/migrate-to-embedded-idp


📝 Commits (3)

  • 721aa41 finalized implemntation plan
  • cc15f5c initial implementation
  • d511a3e update migration guide with instructions on updating idp-side config

📊 Changes

12 files changed (+1801 additions, -31 deletions)

View changed files

idp-migration-plan.md (+335 -0)
management/cmd/migrate-idp/MIGRATION_GUIDE.md (+636 -0)
management/cmd/migrate-idp/backup.go (+68 -0)
management/cmd/migrate-idp/main.go (+151 -0)
📝 management/server/activity/store.go (+7 -0)
📝 management/server/activity/store/sql_store.go (+26 -0)
management/server/idp/migration/migration.go (+152 -0)
management/server/idp/migration/migration_test.go (+287 -0)
📝 management/server/store/sql_store.go (+74 -0)
📝 management/server/store/store.go (+5 -0)
📝 management/server/store/store_mock.go (+60 -31)
migrate-idp (+0 -0)

📄 Description

Describe your changes

Stack

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)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__


🔄 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/5483 **Author:** [@shuuri-labs](https://github.com/shuuri-labs) **Created:** 3/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/migrate-to-embedded-idp` --- ### 📝 Commits (3) - [`721aa41`](https://github.com/netbirdio/netbird/commit/721aa413611704ac5c40b1393052c2ae0db05413) finalized implemntation plan - [`cc15f5c`](https://github.com/netbirdio/netbird/commit/cc15f5cb030baac085218f81188183b5fdbc437e) initial implementation - [`d511a3e`](https://github.com/netbirdio/netbird/commit/d511a3e9eba145b67934d62015a05bd964e7a45c) update migration guide with instructions on updating idp-side config ### 📊 Changes **12 files changed** (+1801 additions, -31 deletions) <details> <summary>View changed files</summary> ➕ `idp-migration-plan.md` (+335 -0) ➕ `management/cmd/migrate-idp/MIGRATION_GUIDE.md` (+636 -0) ➕ `management/cmd/migrate-idp/backup.go` (+68 -0) ➕ `management/cmd/migrate-idp/main.go` (+151 -0) 📝 `management/server/activity/store.go` (+7 -0) 📝 `management/server/activity/store/sql_store.go` (+26 -0) ➕ `management/server/idp/migration/migration.go` (+152 -0) ➕ `management/server/idp/migration/migration_test.go` (+287 -0) 📝 `management/server/store/sql_store.go` (+74 -0) 📝 `management/server/store/store.go` (+5 -0) 📝 `management/server/store/store_mock.go` (+60 -31) ➕ `migrate-idp` (+0 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### 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) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ --- <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:09:33 -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#28021