FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. alexander.schamne
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by alexander.schamne

    • RE: post_logout_redirect_uri not working

      @maciej-wisniowski
      Ok let me explain it to you again, maybe it was not clear enough.

      YES the client_id is passed as a parameter to the UserManager of client as well as the post_logout_redirect_url. I do not pass any handmade parameters.

      see:
      f4f1ff9e-0e4c-4d68-8132-142d7d13363f-image.png

      1. The oidc-client uses the client_id to get the token, and it works!
      2. The oidc-client uses the post_logout_redirect_url for logout, BUT the fusionauth ignores it and readirects me to the auth root. The client_id is not sent here by the oidc-client, as by OID default standard.

      SO I tried manually to send the so called in the FusionAuth Documentaion "optinal" parameter: client_id for the logout AND taaaadaaaa it works - the FusionAuth redirects to the passed post_logout_redirect_uri Looks that FusionAuth expects beside the post_logout_redirect_uri also the client_id for logout BUT i cannot set the client_id in the oidc-client library for the logout process, because it is not by standard.

      Now clear?!

      posted in Q&A
      A
      alexander.schamne
    • RE: post_logout_redirect_uri not working

      @fred-fred
      Does it also work if you don't pass the client_id to the logout process? I cannot pass the client_id because I use a oidc-client to logout and the client_id, which FusionAuth expects (beside the fact, that the documentaion says its "optional"), is not by oid standard. So the library doesn't support it.

      posted in Q&A
      A
      alexander.schamne
    • RE: Spring-Boot and React Integration

      Hi Maciej, I dont thing that I am messing up something.

      Finally I got it up and running by just "try and error". With an old FusionAuth documentation and examples

      React App: gets the token from FusionAuth and communicates with this token to the Spring Boot Backend

      Spring Boot Backend: Checks the token using FusionAuth as JWS Issuer and rejects or accepts as authorised

      posted in Q&A
      A
      alexander.schamne
    • RE: post_logout_redirect_uri not working

      Same behaviour here as well, just frustrating. It works when I pass the client_id, but it says it is an optional Parameter. I use the oidc-client javascript library and I can pass the client_id by setting the extraQuery parameter, but then it fail during login, because FusionAUth cannot handle a queryParameter, which is send twice. Frustrating!

      posted in Q&A
      A
      alexander.schamne
    • Spring-Boot and React Integration

      Hi guys,

      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.

      posted in Q&A
      A
      alexander.schamne