Ver Fonte

feat: release (#3205)

Co-authored-by: blizard863 <760076784@qq.com>
0x7fff há 2 anos atrás
pai
commit
b2e3946800
2 ficheiros alterados com 11 adições e 1 exclusões
  1. 6 1
      Release.md
  2. 5 0
      conf/frpc_full.ini

+ 6 - 1
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.

+ 5 - 0
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 =