FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    SAML SSO for application under tenant

    Scheduled Pinned Locked Moved Solved
    Q&A
    2
    5
    839
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      harish_reddy
      last edited by

      I have created an application under a tenant other than the default tenant.

      Configured issuer, ACS in the application.

      I checked the issuer in SAML Authn request, it is matching the issuer configured in application.

      The request is blocked with error message

      FusionAuth is unable to complete this request due to an invalid tenant Id. This error is unexpected. Contact Support.
      

      Can you please help with this error.
      TIA

      1 Reply Last reply Reply Quote 0
      • H
        harish_reddy
        last edited by

        The worst part about the issue is - there is no event log even though debug is enabled in application SAML configuration.

        1 Reply Last reply Reply Quote 0
        • H
          harish_reddy
          last edited by

          I am able to debug the issue.

          The SP was redirecting to /samlv2/login/9876d2-xyz-abc-pqr-123450e5b/idp/profile/SAML2/Redirect/SSO?SAMLRequest=

          instead of /samlv2/login/9876d2-xyz-abc-pqr-123450e5b?SAMLRequest= as suggested in IDP metadata

          Definitely error message can be better.

          I guess Fusionauth is trying to identify a tenant for "9876d2-xyz-abc-pqr-123450e5b/idp/profile/SAML2/Redirect/SSO" and failing to find a tenant.

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by

            I'm glad you were able to debug the issue. This seems like a bug, but how did you fix it?

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 0
            • danD
              dan
              last edited by

              As of version 1.29.0, we've added a lot more SAML debugging. I'd be interested to know if anyone else runs into this issue and if the extra debugging helps resolve the issue more quickly.

              Cheers!
              Dan

              --
              FusionAuth - Auth for devs, built by devs.
              https://fusionauth.io

              1 Reply Last reply Reply Quote 0
              • First post
                Last post