File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ with the lower level annotation:
2626[source,java]
2727----
2828@SpringBootApplication
29- @EnableOAuthClient
29+ @EnableOAuth2Client
3030@RestController
3131public class SocialApplication extends WebSecurityConfigurerAdapter {
3232 ...
@@ -42,7 +42,7 @@ configuration:
4242[source,java]
4343----
4444@SpringBootApplication
45- @EnableOAuthClient
45+ @EnableOAuth2Client
4646@RestController
4747public class SocialApplication extends WebSecurityConfigurerAdapter {
4848
@@ -128,7 +128,7 @@ facebook:
128128The last change we need to make is to explicitly support the redirects
129129from our app to Facebook. This is handled in Spring OAuth2 with a
130130servlet `Filter`, and the filter is already available in the
131- application context because we used `@EnableOAuthClient `. ALl that is
131+ application context because we used `@EnableOAuth2Client `. ALl that is
132132needed is to wire the filter up so that it gets called in the right
133133order in our Spring Boot application. To do that we need a
134134`FilterRegistrationBean`:
You can’t perform that action at this time.
0 commit comments