This is the documentation for Clover Club 12.0.
Documentation for the upcoming version Rampur 13.0 can be found here.
SAML Flow
There are two basic flows, depending on where the end user starts.Â
Service Provider Initiated (Sign-on)
In this flow the authentication process is triggered from the Pricefx application.
User opens the URL:
https://<instanceDNS>/pricefx/<partition>/saml/signon​
Pricefx sends a redirect to the browser that includes a SAMLRequest URL parameter.
This SAMLRequest contains the entityID and the replyURL / ACS​. The redirect target is the configured IdP URL.IdP shows a login screen or authenticates the user right away based on a previous login​.
Once authenticated, the IdP sends an auto-submit HTML form to the browser with the target being the ACS (i.e. the
…/saml/consume/
URL) and the form content being the SAMLResponse​.Pricefx verifies the response payload (various checks including a signature verification)​.Â
Once verified, the application sends a redirect based on the RelayState and issues a JWT auth cookie​.
This is what SP initiated flow looks like in the context of Pricefx integrated into Salesforce:
The canvas app makes a call to the Pricefx backend with a sign-on call which is defined in the canvas app URL.
After successful request validation, the backend redirects to the URL specified in the SAML IdP Provider URL.
A third party IDP service (e.g. Okta), after successful user authentication, redirects to the Pricefx consume URL.
The backend validates the consume request and responds with a relay state if the request is valid.
The canvas app loads the content to which the relay state points.
Identity Provider Initiated (Consume)
This scenario is simpler than the first one. Essentially, the application sends SAML authentication directly to the consume URL.
Compared to the SP Initiated flow, only these last three steps apply:Â
Once authenticated, the IdP sends an auto-submit HTML form to the browser with the target being the ACS (i.e. theÂ
…/saml/consume/
 URL) and the form content being the SAMLResponse​.Pricefx verifies the response payload (various checks including a signature verification)​.Â
Once verified, the application sends a redirect based on the RelayState and issues a JWT auth cookie​.
IP initiated flow in the context of Pricefx integrated into Salesforce:
Open the Pricefx canvas app in Salesforce.
The canvas app makes a call to Pricefx backend with a consume call (defined in ACS URL).
The backend validates the consume request and responds with a relay state if the request is valid.
The canvas app loads the content to which the relay state points.
The Pricefx canvas app starts to load.