mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
add tokenSource support for auth configuration (#4865)
This commit is contained in:
parent
61330d4d79
commit
f9065a6a78
20 changed files with 832 additions and 23 deletions
|
|
@ -32,6 +32,11 @@ auth.method = "token"
|
|||
# auth token
|
||||
auth.token = "12345678"
|
||||
|
||||
# alternatively, you can use tokenSource to load the token from a file
|
||||
# this is mutually exclusive with auth.token
|
||||
# auth.tokenSource.type = "file"
|
||||
# auth.tokenSource.file.path = "/etc/frp/token"
|
||||
|
||||
# oidc.clientID specifies the client ID to use to get a token in OIDC authentication.
|
||||
# auth.oidc.clientID = ""
|
||||
# oidc.clientSecret specifies the client secret to use to get a token in OIDC authentication.
|
||||
|
|
|
|||
|
|
@ -105,6 +105,11 @@ auth.method = "token"
|
|||
# auth token
|
||||
auth.token = "12345678"
|
||||
|
||||
# alternatively, you can use tokenSource to load the token from a file
|
||||
# this is mutually exclusive with auth.token
|
||||
# auth.tokenSource.type = "file"
|
||||
# auth.tokenSource.file.path = "/etc/frp/token"
|
||||
|
||||
# oidc issuer specifies the issuer to verify OIDC tokens with.
|
||||
auth.oidc.issuer = ""
|
||||
# oidc audience specifies the audience OIDC tokens should contain when validated.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue