Replies: 2 comments 2 replies
-
I assume the error you see is the same one I see from the callback route as described in the first picture. The error is At line 59 in Can I ask how you are parsing the request yourself? The project doesn't appear to be being maintained, yet we're stuck with it. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have kind of the same issue. After being redirected to my POST callback uri, this error is triggered : I tried to add some logs in the Does any one have a solution ? I can't figure out what I'm doing wrong .. :'( |
Beta Was this translation helpful? Give feedback.
-
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?

or should the code be structured more like this?

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
Beta Was this translation helpful? Give feedback.
All reactions