Skip to content
Discussion options

You must be logged in to vote

Access to /login should be allowed for anonymous requests (added to permitAll). But again, this is something you should need only when building a server-side rendered application (Thymeleaf, JSP, etc.).

If using spring-addons-starter-oidc, spring-boot-starter-oauth2-client, and spring-boot-starter-oauth2-resource-server, be careful that you have two SecurityFilterChain beans. As you probably want this /login endpoint to be processed by the "client" filter chain, make sure that it is added to the security-matchers and permit-all properties under com.c4-soft.springaddons.oidc.client.

Last the default template is provided by Spring only if no explicit configuration is provided for the login-uri

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Kevinbarre
Comment options

@ch4mpy
Comment options

@Kevinbarre
Comment options

@ch4mpy
Comment options

Answer selected by Kevinbarre
@Kevinbarre
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants