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

    SAML login failed

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    966
    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.
    • R
      rougiervincent
      last edited by

      Hi,

      I have started using FusionAuth recently and I'm facing an issue I have not been able to solve.
      I'm using the PHP library to perform a SSO login through the API, to a docker container which hosts FusionAuth.

      I am first getting the code that I have to include in the SAML token.
      Then I am getting the certificate (from the keys that I have registered in FusionAuth) to generate a signed token.
      And finally I submit my login request to the api.

      The token that I'm generating contains a signature which is validated via the xmlseclibs library.

      Every time I get the same error, "The signature is invalid".
      The key for the signing of the token is set in "Identity Providers" (Verification key and Options/Request signing key) and in "Applications" (Default verification key).

      Any help would be appreciated.
      Thank you in advance.

      a9a215bf-2483-474b-995b-eb1a7a0c976c-image.png

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

        Hi @rougiervincent ,

        Thanks for using FusionAuth!

        If I were in your situation, I'd enable debugging on the SAML identity provider and then examine the Event Log (System -> Event Log). Hopefully those messages would shed some light on the issue you are facing.

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

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