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 39
39
internal ;
40
40
proxy_ssl_server_name on; # For SNI to the IdP
41
41
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 ;
44
43
proxy_pass $oidc_token_endpoint ;
45
44
}
46
45
51
50
internal ;
52
51
proxy_ssl_server_name on; # For SNI to the IdP
53
52
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 ;
56
54
proxy_pass $oidc_token_endpoint ;
57
55
}
58
56
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ server {
90
90
include oidc/oidc.conf;
91
91
92
92
set $oidc_pkce_enable 0;
93
+ set $oidc_client_auth_method "client_secret_post";
93
94
set $oidc_logout_redirect "{{ $oidc.PostLogoutRedirectURI }}";
94
95
set $oidc_hmac_key "{{ $s.VSName }}";
95
96
set $zone_sync_leeway {{ $oidc.ZoneSyncLeeway }};
You can’t perform that action at this time.
0 commit comments