getSAMLAuthRequest

Returns the XML of the authentication request that would be sent to the Identity Provider, without sending it.

getSAMLAuthRequest(struct) → returns string

This function requires Adobe ColdFusion 2021 and up.  Not supported on Lucee, etc.

Argument Reference

struct struct
Required

Struct with idp.name and sp.name keys naming the configured Identity Provider and Service Provider.

Compatibility

ColdFusion:

Version 2021+ Requires the saml package

Links more information about getSAMLAuthRequest

Examples
Sample code invoking the getSAMLAuthRequest function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub