Skip to content

Parsing callback SAML data #154

@joelwass

Description

@joelwass

So i'm a little confused on how the callback function should look. Should the call back function be using the passport saml middleware? As pictured below and in your ReadMe?
screen shot 2016-04-27 at 5 16 59 pm

or should the code be structured more like this?
screen shot 2016-04-27 at 5 18 14 pm

The issue is -- i'm getting an error with the code in the first image (your provided example code) because the post request is attempting to send another authenticate saml request as I can see in my SAML browser plugin (with an invalid NameId of course), where as if i use the code in the second image, i can get a response back but the request isn't being parsed for me.. and I'm having to parse it myself in a very ugly manner.

Thanks in advance

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