processSAMLResponse

Validates the SAML response from the Identity Provider and returns its details. A login response includes AUTHENTICATED, NAMEID, NAMEIDFORMAT, ATTRIBUTES and RELAYSTATE; a logout response includes SUCCESSFULLOGOUT.

processSAMLResponse(idpName, spName) → returns struct

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

Argument Reference

idpName string
Required

Name of the configured Identity Provider.

spName string
Required

Name of the configured Service Provider.

Compatibility

ColdFusion:

Version 2021+ Requires the saml package

Links more information about processSAMLResponse

Examples
Sample code invoking the processSAMLResponse function

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

Fork me on GitHub