Skip to content
Snippets Groups Projects
Commit f594ab0a authored by ThanKarab's avatar ThanKarab Committed by JerryPan44
Browse files

adding client secret in the logout url call

parent 670c1ca6
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