mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5039] [CLOSED] auth: add support for EntraID method #5110
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5039
Author: @Saancreed
Created: 10/31/2025
Status: ❌ Closed
Base:
dev← Head:pr/entraid-auth📝 Commits (3)
b0374d5auth: prepare configuration for EntraID method supportfbc0739auth: add support for EntraID methoddfa6309auth: enable EntraID method📊 Changes
9 files changed (+236 additions, -17 deletions)
View changed files
📝
go.mod(+10 -1)📝
go.sum(+29 -4)📝
pkg/auth/auth.go(+7 -2)➕
pkg/auth/entraid.go(+157 -0)📝
pkg/config/v1/client.go(+10 -2)📝
pkg/config/v1/common.go(+3 -2)📝
pkg/config/v1/server.go(+13 -5)📝
pkg/config/v1/validation/validation.go(+1 -0)📝
server/service.go(+6 -1)📄 Description
WHY
At LeanCode, we're using frp internally for exposing local development environments for external connections. There, we have a need to authenticate developers to cloud-hosted frps instance in a way that integrates with our existing authentication schemes while being as seamless for them as possible. To this end, we have implemented support for custom token-based authentication method that relies specifically on Microsoft Entra ID.
This method is similar in nature to existing OIDC method but has some additional benefits, namely:
Would there be any interest in accepting this, well, very vendor-specific piece of code? We think there's a chance others may also find some use for it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.