#BAEL-5443: add resttemplate for logout
This commit is contained in:
parent
898661f142
commit
61073210ea
|
@ -2,6 +2,8 @@ package com.baeldung.keycloak;
|
|||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
@SpringBootApplication
|
||||
|
||||
|
@ -11,4 +13,8 @@ public class SpringBoot {
|
|||
SpringApplication.run(SpringBoot.class, args);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public RestTemplate restTemplate() {
|
||||
return new RestTemplate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue