From b2e394680048a192d40b12129b150eb86cc20b34 Mon Sep 17 00:00:00 2001 From: 0x7fff <4812302+blizard863@users.noreply.github.com> Date: Tue, 13 Dec 2022 22:37:06 +0800 Subject: [PATCH] feat: release (#3205) Co-authored-by: blizard863 <760076784@qq.com> --- Release.md | 7 ++++++- conf/frpc_full.ini | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Release.md b/Release.md index 6195534..5fac62d 100644 --- a/Release.md +++ b/Release.md @@ -1,3 +1,8 @@ +### New + +* Add oidc_scope parameter to frpc when authentication_method = oidc . + + ### Improve -* Adjust http group load balancing to forward requests to each frpc proxy round robin. Previous behavior is always forwarding requests to single proxy in the case of single concurrency. +* Upgrade oidc and oauth2 package which is forward compatible. diff --git a/conf/frpc_full.ini b/conf/frpc_full.ini index 8fbc540..0dc2d5d 100644 --- a/conf/frpc_full.ini +++ b/conf/frpc_full.ini @@ -40,6 +40,8 @@ authenticate_new_work_conns = false # auth token token = 12345678 +authentication_method = + # oidc_client_id specifies the client ID to use to get a token in OIDC authentication if AuthenticationMethod == "oidc". # By default, this value is "". oidc_client_id = @@ -51,6 +53,9 @@ oidc_client_secret = # oidc_audience specifies the audience of the token in OIDC authentication if AuthenticationMethod == "oidc". By default, this value is "". oidc_audience = +# oidc_scope specifies the permisssions of the token in OIDC authentication if AuthenticationMethod == "oidc". By default, this value is "". +oidc_scope = + # oidc_token_endpoint_url specifies the URL which implements OIDC Token Endpoint. # It will be used to get an OIDC token if AuthenticationMethod == "oidc". By default, this value is "". oidc_token_endpoint_url =