Skip to content
Snippets Groups Projects
Commit 9abf7543 authored by ThanKarab's avatar ThanKarab
Browse files

adding client secret in the logout url call

parent f3e8114c
No related branches found
No related tags found
1 merge request!7Features/keycloak integration
......@@ -308,7 +308,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
RestTemplate restTemplate = new RestTemplate();
MultiValueMap<String, String> formParams = new LinkedMultiValueMap<>();
formParams.add("client_id", hbp().getClientId());
// formParams.add("client_secret", registration.getClientSecret());
formParams.add("client_secret", hbp().getClientSecret());
formParams.add("refresh_token", this.oauth2ClientContext.getAccessToken().getRefreshToken().getValue());
// リクエストヘッダーを作成
HttpHeaders httpHeaders = new HttpHeaders();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment