You must build infrastructure and UI elements in your environment that support some "Send to Quik!" button for users to enter the Quik! App with a SAML request. See the SAML Project Details below for more information on which data points to send to Quik! in the SSO event.
Quik recommends testing your SSO implementation with the pre-production SAML endpoint referenced below.
Once testing is complete, you can use the production SAML endpoint referenced above and begin the SSO process for users in your production environment.
Sending Rich Data In SAML
If you want to prefill clients, accounts, and reps via SAML, please see the “FormFieldsData” element in the SAML request and use the “SSO Field List Spreadsheet” found in the Quik! Field Definition guide.
Upgrading
Here’s an overview of what you can expect for those using the original SSO iteration.
We removed the required fields related to establishing a user (username, first name, last name)
The endpoints changed (Depending on need, you’ll use either the Same Account or Referral Account version)
We added support for new fields (e.g,. sending over all the fields on a client record)
Background
This SSO service is designed to solve for several use cases:
Same Account: Log a user into a customer's existing Quik! account, with automatic user registration if the user does not exist
Referral Account: Log a user into their own Quik! account and associate them to an enterprise customer’s parent account at Quik!
Referral Account: Log a user into their own Quik! account from any third-party website
Prefill Data via SSO
Another use case that works for all of the above login types is prefilling data onto forms. When Quik! doesn’t have an integration to a CRM, or your system wants to send over more data than our integration supports, an SSO request can include data fields to fill out on forms (e.g., client records, account records, rep records, etc.). Any form field can be prefilled via SSO.
What is SSO (Single Sign-on) Authentication?
Single-sign-on (SSO) enables a user from one application to automatically log in to another application without any manual intervention, and often without even knowing their credentials. Because users are managed and authenticated by customer systems (e.g., Active Directory), it's easier for users to use SSO with Quik! than to force users to know, remember, and use their own private credentials.
Quik! SSO uses SAML (2.0). The IdP is the Identity Provider (e.g., SalesForce) who has already authenticated the user's identity and wants Quik! to accept that user's authentication instead of doing their authentication. The mechanism that enables Quik! to trust the IdP is that customers have set up their encryption certificate's public key with Quik!, and Quik! can use that key to verify their encrypted requests with that key (the assumption is that the IdP is the only one with the private key that is used to encrypt the request).
Quik! App SSO Process
The overall flow follows these steps:
User originates outside of Quik! in a customer or partner 3rd party system/platform/application
User clicks a link/button/event to go to Quik!
3rd party system initiates an SSO Request and gets back a redirect to Quik!
The Quik! App opens in a new tab for the user
If the user is not recognized then
Same Account - the user is automatically registered
Referral Account - the user is prompted to login to their account, or sign up for an account
The user is logged into the appropriate Quik! account.
Now that the user is logged into Quik!, they can begin generating forms
The landing page may be variable depending on parameters passed in the SSO request
User will need to have forms selected or to find the forms they want to use
If one or more FormIDs are passed in the SSO then the shopping cart will prefill with those forms
The form search results will display all Form IDs that were passed in SSO
If FormGroupIDs were passed in SSO then the form bundle view is displayed with those Form GroupIDs pre-selected
The user will assign client records to the available roles on the selected forms
The CRM choice may be disabled by request in the SSO so the user cannot select any other CRMs
The client search may be hidden or disabled by request in the SSO so the user cannot add other records
Any Client IDs that were passed in the SSO will display as a list of clients in the client search results
If the Owner 1 record is pre-assigned in the SSO then a client will be pre-assigned to that role on the Choose Clients screen.
User moves to the Launch page
The rep drop-down list may be locked by request in the SSO
The e-sign drop-down may be locked by request in the SSO
User launches the forms
The Quik! Form Viewer can be configured to enable buttons for Submit, Save, E-Sign or Email
The customer may implement the e-sign meta data web service
The customer's system may process the form data that was submitted and/or integrate with the e-sign vendor
SAML 2.0
SAML is a protocol and methodology for authenticating users. It was built in .NET as a standalone endpoint and code-base, leveraging ComponentSpace's tools for reading and interpreting SAML XML files. The Quik! SAML project validates and accepts an incoming SAML request from an Identity Provider (IdP). The request is used to authenticate a user, onboard new users, pass data to Quik!, pass data to the Quik! App to control the user experience and pass data to forms to become part of the form payload that becomes part of the transaction (i.e., hidden data, metadata, etc.).
Sending Field Data via SAML
If you want to send field data to Quik! to prefill onto forms, you can send your field values into the FormFieldsData object in SAML with the full Quik! Field Name and your value (i.e., “1own.FName” is the Quik! field name for Owner 1 first name, and you’d also include your value, like “Tom”). Please refer to our field definition guide using the Most Common Fields spreadsheet as a reference: Field List Spreadsheet
Endpoints
There are two distinct endpoints for SSO requests, which depend on your purpose.
Log a user into a customer's Quik! account, with automatic user registration if the user does not exist. Use this endpoint if all of your users will be registered on a single Quik! account that you manage.
Same Account: SSO To A Single Enterprise Quik! Account
This endpoint is used for logging a user into a single customer account at Quik!, including auto-registration of new users.
The following production endpoint is to be used for all production SAML requests:
NOTE: Items in yellow are valid SAML elements but may still be in development within the Quik! App to consume and use the elements.
Category
Name
Description
Data Type
Required?
Category
Name
Description
Data Type
Required?
Application Data
ApplicationID
The Application ID at Quik! ALL CUSTOMERS MUST USE VALUE "36" FOR ApplicationID
string
YES
Quik! Account Data
CustomerID
Quik! CustomerID assigned to the customer's account
string
YES
Quik! Account Data
CustomerUserID
Customer's unique UserID from their internal system of record
string
YES
Application Control
TimeoutRedirectURL
A URL to send the user to when their logged in session expires or is logged out
string
YES
Quik! Account Data
UserFirstName
User's first name
string
YES
Quik! Account Data
UserLastName
User's last name
string
YES
Quik! Account Data
UserEmail
User's email address
string
YES
Application Data
BrokerDealerID
The Broker/Dealer's internal ID used with API calls or e-sign
string
NO
Application Data
CustomerClientId
The ClientID to assign to Owner1 role
string
NO
Application Data
CustomerAccountId
The account ID to assign to Account 1 role
string
NO
Application Data
FormIDList
List of FormIDs to add to the shopping cart
csv
NO
Application Data
ClientIDList
List of Client IDs to lookup from the connected CRM
csv
NO
Application Data
RepIDList
List of Client IDs to lookup sales rep records from the connected CRM
csv
NO
Application Data
Rep1RecordID
The record ID to assign to Rep 1 role
string
NO
Application Data
RepNumberList
List of rep numbers to show in the launch screen of the Quik! App
csv
NO
Application Data
Transactions
List of transaction data objects like a tradeblotter, orders, etc. Must contain a root object called “transactions” which will store an array of objects with the following attributes:
id: the Transaction ID (string)
typeId: the Transaction Type (int): TradeBlotter=1
The customer's transaction number (numeric integer values only)
number
NO
E-Sign Meta Data
ClientTransNumber2
The customer's transaction number (numeric integer values only) - number 2
number
NO
E-Sign Meta Data
ClientTransNumber3
The customer's transaction number (numeric integer values only) - number 3
number
NO
E-Sign Meta Data
ClientTransNumber4
The customer's transaction number (numeric integer values only) - number 4
number
NO
E-Sign Meta Data
ClientTransCode
The customer's transaction code
string
NO
E-Sign Meta Data
ClientTransCodeType
The description if any of the ClientTransCode so customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode2
The customer's transaction code - number 2
string
NO
E-Sign Meta Data
ClientTransCode2Type
The description if any of the ClientTransCode2 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode3
The customer's transaction code - number 3
string
NO
E-Sign Meta Data
ClientTransCode3Type
The description if any of the ClientTransCode3 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode4
The customer's transaction code - number 4
string
NO
E-Sign Meta Data
ClientTransCode4Type
The description if any of the ClientTransCode4 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransMetaData
Any extra text the customer wants to pass through the meta data service (up to 8000 characters)
string
NO
Application Control
EnableESign
Turns on or off the e-sign feature for the logged in session of the Quik! App
boolean
NO
Application Control
EnableClientSearch
Flag to hide/disable the client search page in the Quik! App
boolean
NO
QFE Properties
LockPrefilledFields
If TRUE, sets the prefilled fields as read-only on the form
boolean
NO
QFE Properties
ESignCallbackURL
Sets the value of the e-sign Callback URL
string
NO
QFE Properties
SubmitFormOn
If TRUE, shows the Submit button in the Quik! Form Viewer
boolean
NO
QFE Properties
SubmitURL
Sets the value of the Submit button URL (location where submitted form data will be sent)
string
NO
Application Control
DataSourceConnectionID
Quik! Datasource Connection ID to use when requesting client records, if none then whatever connection exists on the account is used
string
NO
Application Control
LockAssignedRoles
Flag to allow user to change pre-assigned roles
boolean
NO
Application Control
LockRepChoice
Flag to disable/enable the rep drop-down in the Launch page
boolean
NO
Application Control
ESignConnectionName
Determines which e-sign connection user can access by passing the ESign connection name
string
NO
Application Control
LockESignChoice
Flag to disable/enable e-sign drop-down in the Launch page
boolean
NO
QFE Properties
LockAllFields
If TRUE, sets all fields as read-only on the form
boolean
NO
Application Data
FormGroupIDList
List of FormGroupIDs to get the related forms to add to the shopping cart
csv
NO
Same Account - Sample SAML
Referral Account SSO
Use the referral account SSO approach to log a user into their own Quik! account and associate them to an enterprise customer’s parent account at Quik! (ideal for enterprise customers and partners), or if you want to log a user into their own Quik! account from any third-party website (ideal for system integrators and 3rd parties).
Referral Account: SSO To A User’s Quik! Account
This endpoint is used to log users into their own independent or child Quik! accounts.
The following production endpoint is to be used for all production SAML requests:
NOTE: Items in yellow are valid SAML elements but may still be in development within the Quik! App to consume and use the elements.
Category
Name
Description
Data Type
Required?
Category
Name
Description
Data Type
Required?
Application Data
ApplicationID
The Application ID at Quik! ALL CUSTOMERS MUST USE VALUE "36" FOR ApplicationID
string
YES
Quik! Account Data
CustomerID
Quik! CustomerID assigned to the customer's account
string
YES
Quik! Account Data
CustomerUserID
Customer's unique UserID from their internal system of record
string
YES
Quik! Account Data
AffiliateCode
(NEW for Fall 2022)
A code issued by Quik! to be used by the customer/partner to associate users with their account (i.e. parent/child accounts), to provide the user with a discount or free product when the parent entity is paying for all users, and/or to give the user access to a private library of forms.
string
NO
Application Control
TimeoutRedirectURL
A URL to send the user to when their logged in session expires or is logged out
string
YES
Application Data
BrokerDealerID
The Broker/Dealer's internal ID used with API calls or e-sign
string
NO
Application Data
CustomerClientId
The ClientID to assign to Owner1 role
string
NO
Application Data
CustomerAccountId
The account ID to assign to Account 1 role
string
NO
Application Data
FormIDList
List of FormIDs to add to the shopping cart
csv
NO
Application Data
ClientIDList
List of Client IDs to lookup from the connected CRM
csv
NO
Application Data
RepIDList
List of Client IDs to lookup sales rep records from the connected CRM
csv
NO
Application Data
Rep1RecordID
The record ID to assign to Rep 1 role
string
NO
Application Data
RepNumberList
List of rep numbers to show in the launch screen of the Quik! App
csv
NO
Application Data
Transactions
List of transaction data objects like a tradeblotter, orders, etc. Must contain a root object called “transactions” which will store an array of objects with the following attributes:
id: the Transaction ID (string)
typeId: the Transaction Type (int): TradeBlotter=1
The customer's transaction number (numeric integer values only)
number
NO
E-Sign Meta Data
ClientTransNumber2
The customer's transaction number (numeric integer values only) - number 2
number
NO
E-Sign Meta Data
ClientTransNumber3
The customer's transaction number (numeric integer values only) - number 3
number
NO
E-Sign Meta Data
ClientTransNumber4
The customer's transaction number (numeric integer values only) - number 4
number
NO
E-Sign Meta Data
ClientTransCode
The customer's transaction code
string
NO
E-Sign Meta Data
ClientTransCodeType
The description if any of the ClientTransCode so customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode2
The customer's transaction code - number 2
string
NO
E-Sign Meta Data
ClientTransCode2Type
The description if any of the ClientTransCode2 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode3
The customer's transaction code - number 3
string
NO
E-Sign Meta Data
ClientTransCode3Type
The description if any of the ClientTransCode3 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransCode4
The customer's transaction code - number 4
string
NO
E-Sign Meta Data
ClientTransCode4Type
The description if any of the ClientTransCode4 so the customer knows what the data represents
string
NO
E-Sign Meta Data
ClientTransMetaData
Any extra text the customer wants to pass through the meta data service (up to 8000 characters)
string
NO
Application Control
EnableESign
Turns on or off the e-sign feature for the logged in session of the Quik! App
boolean
NO
Application Control
EnableClientSearch
Flag to hide/disable the client search page in the Quik! App
boolean
NO
QFE Properties
LockPrefilledFields
If TRUE, sets the prefilled fields as read-only on the form
boolean
NO
QFE Properties
ESignCallbackURL
Sets the value of the e-sign Callback URL
string
NO
QFE Properties
SubmitFormOn
If TRUE, shows the Submit button in the Quik! Form Viewer
boolean
NO
QFE Properties
SubmitURL
Sets the value of the Submit button URL (location where submitted form data will be sent)
string
NO
Application Control
DataSourceConnectionID
Quik! Datasource Connection ID to use when requesting client records, if none then whatever connection exists on the account is used
string
NO
Application Control
LockAssignedRoles
Flag to allow user to change pre-assigned roles
boolean
NO
Application Control
LockRepChoice
Flag to disable/enable the rep drop-down in the Launch page
boolean
NO
Application Control
ESignConnectionName
Determines which e-sign connection user can access by passing the ESign connection name
string
NO
Application Control
LockESignChoice
Flag to disable/enable e-sign drop-down in the Launch page
boolean
NO
QFE Properties
LockAllFields
If TRUE, sets all fields as read-only on the form
boolean
NO
Application Data
FormGroupIDList
List of FormGroupIDs to get the related forms to add to the shopping cart
csv
NO
Referral Account - Sample SAML Request
Testing in UAT
The following UAT pre-production endpoint can be used for testing prior to implementation in a production environment or before production releases are made (simply add “uat” to the beginning URL to test any URL in our UAT environment):