Can anyone help. I’m implementing a bff pattern with Spring Auth Server, Spring Reverse Proxy, Spring Bff Server, Spring Resource Server, and Angular, but I get a casing error on successful authorisation when the auth server redirects back to the bff server:
Error Pictures
Angular Error
Auth Server – Looks ok
BFF – Error
GitHub Repos
Here is Github code, so far, of all 5 servrers (auth, resource, reverse proxy, bff, and angular) >> github.com/dreamstar-enterprises/docs/tree/master/Spring%20BFF
Storing State
Right now all repos are stored in-memory, but as you can see from the bff server, I have started to set things up to store into Redis.
- The Bff server (webflux) is stateful.
- The auth server (servlet) is also stateful, but I set the session to a 5 second timeout, and use java virtual threads to try and get around that Spring don’t yet
support webflux auth servers. - The resource server (webflux) is stateless.
I’d be grateful if someone could help.