June 21, 2023
SAML SSO Issue
Comments
(3)
June 21, 2023
SAML SSO Issue
Newbie 1 posts
Followers: 0 people
(3)

Hi,

I’m trying to implement SAML SSO for a client and I’m getting the error:

“Possible replay attack occurred as there is no login/logout information associated with this request.”

Code:

<cfset config = {
idp = {name = “ClientName”},
sp = {name = “TestSP”},
relayState = “cart”
}>

<cfset InitSAMLAuthRequest(config)>

<cfset response = ProcessSAMLResponse(“ClientName”,”TestSP”)>

The SP config is simple and show in the image.

The IDP is using a SAML URL from the client.

I’ve not been able to find any info on this error. Can anyone provide some suggestions? I’m hoping I’m doing something obviously wrong.

Thanks,

Dom

3 Comments
2023-06-22 12:14:00
2023-06-22 12:14:00

For what it’s worth, I get that message in my log file too, but it still works. Can you tell if it’s working in the end?

Like
(2)
>
Brian J. Hoffman
's comment
2023-06-22 13:53:21
2023-06-22 13:53:21
>
Brian J. Hoffman
's comment

Hi Brian,
Thanks for the reply. That’s interesting… The page stops executing. How do you get past this? Wrap it in a cftry?
Best,
Dom

Like
>
dominicv66932130
's comment
2023-06-22 14:26:28
2023-06-22 14:26:28
>
dominicv66932130
's comment

Hi,
I tried this and then I just get an error when I try to dump the response that the variable doesn’t exist.
Thanks,
Dom

Like
Add Comment