File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3939 internal ;
4040 proxy_ssl_server_name on; # For SNI to the IdP
4141 proxy_set_header Content-Type "application/x-www-form-urlencoded" ;
42- proxy_set_body "grant_type=authorization_code&client_id=$oidc_client&$args&redirect_uri=$redirect_base$redir_location" ;
43- proxy_method POST;
42+ proxy_set_header Authorization $arg_secret_basic ;
4443 proxy_pass $oidc_token_endpoint ;
4544 }
4645
5150 internal ;
5251 proxy_ssl_server_name on; # For SNI to the IdP
5352 proxy_set_header Content-Type "application/x-www-form-urlencoded" ;
54- proxy_set_body "grant_type=refresh_token&refresh_token=$arg_token&client_id=$oidc_client&client_secret=$oidc_client_secret" ;
55- proxy_method POST;
53+ proxy_set_header Authorization $arg_secret_basic ;
5654 proxy_pass $oidc_token_endpoint ;
5755 }
5856
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ server {
9090 include oidc/oidc.conf;
9191
9292 set $oidc_pkce_enable 0;
93+ set $oidc_client_auth_method "client_secret_post";
9394 set $oidc_logout_redirect "{{ $oidc.PostLogoutRedirectURI }}";
9495 set $oidc_hmac_key "{{ $s.VSName }}";
9596 set $zone_sync_leeway {{ $oidc.ZoneSyncLeeway }};
You can’t perform that action at this time.
0 commit comments