mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #4388] [CLOSED] feat: Add auth.tokenFile support for file-based token authentication #4972
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#4972
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/4388
Author: @xvfeiran
Created: 8/17/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
b2a468afeat: Add auth.tokenFile support for file-based token authentication📊 Changes
7 files changed (+124 additions, -2 deletions)
View changed files
📝
README.md(+27 -0)📝
pkg/config/flags.go(+2 -0)📝
pkg/config/load.go(+9 -0)📝
pkg/config/v1/client.go(+10 -2)📝
pkg/config/v1/server.go(+7 -0)📝
pkg/util/util/util.go(+10 -0)📝
test/e2e/v1/basic/client_server.go(+59 -0)📄 Description
This pull request introduces the
auth.tokenFileconfiguration option for bothfrpc.tomlandfrps.tomlfiles, providing a token-based authentication.Changes:
auth.tokenFileconfiguration option to the documentation.auth.tokenFileifauth.tokenis not set.README.mdto guide users on how to utilize the newauth.tokenFileoption.auth.tokenFileconfiguration.Notes:
Closes:
Closes #4353
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.