[PR #4865] [MERGED] add tokenSource support for auth configuration #5064

Closed
opened 2026-05-05 14:54:02 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4865
Author: @fatedier
Created: 7/3/2025
Status: Merged
Merged: 7/3/2025
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • 958a892 add tokenSource support for auth configuration

📊 Changes

20 files changed (+832 additions, -23 deletions)

View changed files

📝 README.md (+15 -0)
📝 Release.md (+1 -2)
📝 client/service.go (+8 -3)
📝 cmd/frpc/sub/nathole.go (+4 -1)
📝 cmd/frpc/sub/proxy.go (+8 -2)
📝 cmd/frps/root.go (+4 -1)
📝 conf/frpc_full_example.toml (+5 -0)
📝 conf/frps_full_example.toml (+5 -0)
📝 pkg/config/load.go (+6 -2)
📝 pkg/config/v1/client.go (+25 -5)
📝 pkg/config/v1/client_test.go (+71 -1)
📝 pkg/config/v1/server.go (+22 -3)
📝 pkg/config/v1/server_test.go (+71 -1)
📝 pkg/config/v1/validation/client.go (+12 -0)
📝 pkg/config/v1/validation/server.go (+12 -0)
pkg/config/v1/value_source.go (+93 -0)
pkg/config/v1/value_source_test.go (+246 -0)
📝 pkg/ssh/server.go (+4 -1)
📝 pkg/virtual/client.go (+3 -1)
test/e2e/v1/basic/token_source.go (+217 -0)

📄 Description

WHY

Fix #4353


🔄 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/fatedier/frp/pull/4865 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 7/3/2025 **Status:** ✅ Merged **Merged:** 7/3/2025 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`958a892`](https://github.com/fatedier/frp/commit/958a8926068604fa931781071af12765c3c18f9a) add tokenSource support for auth configuration ### 📊 Changes **20 files changed** (+832 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+15 -0) 📝 `Release.md` (+1 -2) 📝 `client/service.go` (+8 -3) 📝 `cmd/frpc/sub/nathole.go` (+4 -1) 📝 `cmd/frpc/sub/proxy.go` (+8 -2) 📝 `cmd/frps/root.go` (+4 -1) 📝 `conf/frpc_full_example.toml` (+5 -0) 📝 `conf/frps_full_example.toml` (+5 -0) 📝 `pkg/config/load.go` (+6 -2) 📝 `pkg/config/v1/client.go` (+25 -5) 📝 `pkg/config/v1/client_test.go` (+71 -1) 📝 `pkg/config/v1/server.go` (+22 -3) 📝 `pkg/config/v1/server_test.go` (+71 -1) 📝 `pkg/config/v1/validation/client.go` (+12 -0) 📝 `pkg/config/v1/validation/server.go` (+12 -0) ➕ `pkg/config/v1/value_source.go` (+93 -0) ➕ `pkg/config/v1/value_source_test.go` (+246 -0) 📝 `pkg/ssh/server.go` (+4 -1) 📝 `pkg/virtual/client.go` (+3 -1) ➕ `test/e2e/v1/basic/token_source.go` (+217 -0) </details> ### 📄 Description ### WHY Fix #4353 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:54:02 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5064
No description provided.