Skip to content

Validating SLO responses #91

@achingbrain

Description

@achingbrain

I can generate a SLO request like this:

strategy.logout({
  ...
}, function createdLogoutUrl(error, requestUrl) {
  reply.redirect(requestUrl);
});

The user gets redirected to the SAML IdP which then redirects them back to the URL defined in the Location attribute of the SingleLogoutService element in the SP's metadata file, so far, so good, but the GET redirection from the IdP contains a SAMLResponse as part of the query string.

I can see there's a validatePostResponse method on the SAML class - how would I go about validating a GET response?

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