Whatever message this page gives is out now! Go check it out!

InitSAMLLogoutRequest

Last update:
May 18, 2026

Description

Initiates the logout process with IDP.

Syntax

InitSAMLLogoutRequest(options)

Parameters

idp
Name of the Identity Provider.
sp
Name of the Service Provider.
relayState
A string token that is attached with the request. On succesful authentication with the IdP, this token is sent back in the SAMLResponse so that the user can be redirected to any page once authentication is done.
template
The location of a template that can be used as an intermediate loading page before redirection to the IDP takes place. Valid only for POST bindings.
lifetime
The time that the SAML request must be entertained while waiting for the response from the IDP.

Example

<cfset struct1 = StructNew()> 
<cfset struct1.idp = StructNew()> 
<cfset struct1.idp.name = "idp1"> 
<cfset struct1.sp = StructNew()> 
<cfset struct1.sp.name = "sp1"> 
<cfset struct1.lifetime = 600> 
<cfset struct1.relaystate = "page"> 
<cfscript>            
    InitSAMLLogoutRequest(struct1); 
</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page