Skip to content

Security(Web)FilterChain in the bff tutorial #191

Answered by ch4mpy
rgambelli asked this question in Q&A
Discussion options

You must be logged in to vote

in extreme summary bff endpoint must not appear in the client.security-matcher, am I wrong?

I would rather phrase: "client.security-matcher should match only the endpoints needing session and not REST endpoints with Bearer authorization".

So if what you mean by "bff endpoint" are the REST endpoints you expect to be authorized with access tokens, your assomption is true. But a BFF definitely has other endpoints at least for out2Login, logout and routed requests which are all authorized with sessions in the "client" filter-chain. For sure, client.security-matcher must match this other endpoints...

  1. should they (BFF routes to downstream resource servers) be intercepted by client.security-…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@rgambelli
Comment options

Comment options

You must be logged in to vote
3 replies
@rgambelli
Comment options

@ch4mpy
Comment options

@ch4mpy
Comment options

Answer selected by rgambelli
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