File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-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
You can’t perform that action at this time.
0 commit comments