after reading here through this forum and trying almost every example here. I stuck to provide the react App with the JWT token from FusionAuth from my Spring-Boot Application.
I integrated this: https://fusionauth.io/blog/2018/10/24/easy-integration-of-fusionauth-and-spring/
and it works, but I get the JSSESSIONID in the Cookie instead of JWT Token provided from FusionAuth.
Basically I want my React application redirect to my Spring Boot Server, the spring boot redirects to the FusionAuth exchanges the code for token, reads the user AND (This part ist not working!!!) should give the JWT and User to the React app.
The React App would user the JWT Token to communicate to the spring-boot backend and the spring boot would validate the token against the fusionAuth issuer-uri.
Do you have any similar running example? It's quite frustrating.
I could find an React -> NodeJS (Experss) -> FusionAuth Example, but could not find anything similar for spring boot. The example Above is an example for Spring-Boot Server Side rendered Application: Frontened and Backend on Spring-Boot server.
Any Examples, that would help a lot? Even if its Angular/Vue or whatever to Spring-Boot, will be fine as well.