Skip to content
Discussion options

You must be logged in to vote

The filter chain with oauth2Login should be reserved for frontends that need to log users in. For programmatic clients getting tokens with the client credentials flow, you may either:

  • Avoid going through the BFF (contact the service directly or a load-balancer between the BFF and the resource servers)
  • If keeping the BFF as only entry point, use a second set of routes with a stateless security filter chain (and disabled protection against CSRF, like you can do safely with oauth2ResourceServer or basic), or disabled security.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ch4mpy
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