Skip to content

Invalid Signature on SAML Response #540

@Bennet-Sunder

Description

@Bennet-Sunder

Hello,
I'm verifying a signed SAML response like so response.is_valid? and in the error messages I have ["Invalid Signature on SAML Response"]
It's similar to #442 except that I debugged and found that the x.509 certificate, the algorithm used in the response matches with the one given in the settings.

Could you help me out with that are the other conditions where it might throw up such a validation error?
I was thinking if it might throw up here https://github.com/onelogin/ruby-saml/blob/811618d08ace032c830b62d7ea3a6c2ae32d6c19/lib/onelogin/ruby-saml/response.rb#L840 but the response has just one signature attribute.
or maybe this https://github.com/onelogin/ruby-saml/blob/811618d08ace032c830b62d7ea3a6c2ae32d6c19/lib/onelogin/ruby-saml/response.rb#L866

But I'm not sure what other reasons could make this to have only one such error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions