Skip to content

Conversation

avendesta
Copy link

@pivotal-cla
Copy link

@avendesta Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@avendesta Thank you for signing the Contributor License Agreement!

registered filterChain bean and added logout/csrf logic
.exceptionHandling(e -> e
.authenticationEntryPoint(new HttpStatusEntryPoint(HttpStatus.UNAUTHORIZED))
)
.oauth2Login();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is marked as deprecated!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a viable solution (or at least workaround in the tutorial) would be

.oauth2Login(oauth -> oauth.loginPage("/index.html").permitAll())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants