FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. joseantonio
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 19
    • Best 2
    • Controversial 0
    • Groups 0

    joseantonio

    @joseantonio

    3
    Reputation
    13
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Spain Age 26

    joseantonio Unfollow Follow

    Best posts made by joseantonio

    • RE: SAML invalid timestamp.

      Hi again!

      For the record, I just found the solution.

      Fusionauth config is taken from JVM variables, as explained here. These can be chaged with the fusionauth-search.additional-java-args property, specified in the fusionauth.properties file like so:

      fusionauth-search.additional-java-args="-Duser.timezone=UTC".

      Then everything is working and compliant with SAMLv2 timestamps. Hope this helps someone else some day.

      posted in Q&A
      J
      joseantonio
    • RE: SAML invalid timestamp.

      Hi @dan !

      I'm sorry, the only thing I can say is that setting

      fusionauth-search.additional-java-args="-Duser.timezone=UTC"
      

      solved the issue for me.

      If that's already solved, I guess it can be closed.

      Thanks @dan and @robotdan for reviewing issues!

      posted in Q&A
      J
      joseantonio

    Latest posts made by joseantonio

    • RE: How to setup reverse proxy for an SSO session bootstrap

      @mark-robustelli Thanks! That prevents the error but adds the code to the url, which in my case is not needed, so I'm using response_mode=form_post to hide it. Is that ok?

      posted in Q&A
      J
      joseantonio
    • RE: How to setup reverse proxy for an SSO session bootstrap

      @mark-robustelli

      This is the error shown in the url after oauth2/authorize redirects to redirect_uri:

      ?error=invalid_request&error_reason=missing_response_type&error_description=The+request+is+missing+a+required+parameter%3A+response_type
      

      At some point I used a combination of these two params in the oauth2/authorize endpoint to prevent it, is this safe to do or may it come with possible drawbacks?

      • response_type=code
      • response_mode=form_post

      Thanks!

      posted in Q&A
      J
      joseantonio
    • How to setup reverse proxy for an SSO session bootstrap

      I'm glad it's finally possible to bootstrap an SSO session manually as described here, nice!

      However, as part of the explanation on how to actually achieve it, there's a step that's not explained in detail, which is:

      "FusionAuth requires the access token to be in an Authorization header. Because browsers do not provide a way to set the Authorization header when browsing to a location, you’ll need to add the header using, for example, a reverse proxy.""

      I managed to make it work using nginx as the reverse proxy, I've published a gist to show how.
      Is this approach correct?

      The only thing that seems off is that after redirecting to oauth2/authorize, FusionAuth redirects to the redirect_uri provided, but includes an error about the response_type in the url (SSO session is correctly created though).

      posted in Q&A
      J
      joseantonio
    • Is it possible to mix hosted and self-created login pages

      Hi,

      I want to do something like in this post: MagicLink + Google IDP, creating a custom login page for one of my applications, that will have a "Login with Google" button.

      However, there are two more applications that are using the FusionAuth built in page, so I don't know how this would work.

      Once I complete the login using this: https://fusionauth.io/docs/apis/identity-providers/google#complete-the-propsidp_display_name-login:

      Will the user need to authenticate again in other applications that use hosted FusionAuth page? Or will the sso session persist somehow?

      All the applications share the same parent domain.

      posted in Q&A
      J
      joseantonio
    • RE: SAML invalid timestamp.

      Hi @dan !

      I'm sorry, the only thing I can say is that setting

      fusionauth-search.additional-java-args="-Duser.timezone=UTC"
      

      solved the issue for me.

      If that's already solved, I guess it can be closed.

      Thanks @dan and @robotdan for reviewing issues!

      posted in Q&A
      J
      joseantonio
    • RE: SAML invalid timestamp.

      Hi again!

      For the record, I just found the solution.

      Fusionauth config is taken from JVM variables, as explained here. These can be chaged with the fusionauth-search.additional-java-args property, specified in the fusionauth.properties file like so:

      fusionauth-search.additional-java-args="-Duser.timezone=UTC".

      Then everything is working and compliant with SAMLv2 timestamps. Hope this helps someone else some day.

      posted in Q&A
      J
      joseantonio
    • SAML invalid timestamp.

      Hi!

      Situation:
      Few months ago my I set up a FA installation hosted in FA servers. Then I set a SAMLv2 IDP configuration, and in the end ran perfect.

      Now I set the same configuration for the same IDP in a FA installation (1.27.2) hosted in our servers.

      However, this configuration does not work correctly this time. I have contacted the IDP manager, and he said that the timestamp in the AuthNRequest is invalid. So, I checked the server and database timezone configurations, and set everything to UTC, as SAMLv2 demands, and then rebooted everything. No effect from this.

      Then I realized that the event logs in the FA server shows a different time (UTC) from ours (CEST).

      FA hosted server:

      02500988-5885-4eb9-86bc-0b0b640231c1-image.png

      Our server:

      f2a19e08-6931-4f1c-b620-a33f0dcfb411-image.png

      Do you have any ideas on how I can change or set that timezone? Since I think this is the reason why the SAML conection is not working.

      Thank you!

      posted in Q&A
      J
      joseantonio
    • RE: SSO not working inside iframe

      Hi @joshua,

      Just to let you know, in the end I installed FA in a new VPS, and pointed a new subdomain to it so everything is now on the same domain, and it's working fine inside the iframe!

      Thank you so much for your support! Helped a lot!

      Jose

      posted in Q&A
      J
      joseantonio
    • RE: SSO not working inside iframe

      @joshua

      Indeed, custom URL/domain is the only feature we really need from HA.

      In this case, would it be possible to do a "partial upgrade", meaning paying more just for this feature? Otherwise I think we should give self hosting a try.

      Just to be sure, the CloudFlare option would involve implementing that "coordination" on both apps aswell?

      Thank you again for the great support!

      Jose

      posted in Q&A
      J
      joseantonio
    • RE: SSO not working inside iframe

      Hi @joshua,

      Many thanks for the information. Indeed that is exactly the use case.

      Since our current Cloud plan is not High-Availability, the current structure is:

      FusionAuth deployment.fusionauth.io
      App A -> a.mydomain.com
      App B -> b.mydomain.com

      Do you think it's necessary to upgrade the current Cloud plan to fit the structure you mentioned?

      The Cloudflare option might be good, but I'm not sure which kind of cookie would I need to set for making it work. Any guidance about this?

      Thank you!

      posted in Q&A
      J
      joseantonio