Authentiq OpenID Connect Registration Handler for Salesforce
Registration handler for using Authentiq as a Salesforce OpenID provider.
Follow these steps to register Authentiq as an authentication provider for your Salesforce domain, so that your users can sign in to Salesforce using their Authentiq ID.
Set up your Salesforce domain
In your Salesforce dashboard, in the lefthand column, select Domain Management under Administration Setup and make sure you have a domain set up here. If not, follow these directions from Salesforce to set up a domain.
Create registration handler
To create a registration handler for Authentiq, go to the Apex Classes menu in the left column of your Salesforce dashboard.
Press New and you should be presented with a text editor.
Copy and paste the raw code of the latest Authentiq Registration Handler in the editor and press Save.
Create an new authentication provider
Now select Security Controls under Administration Setup and click through to Manage Authentication Providers.
If you don’t have an authentication provider set up then this list will be empty.
Press New and select Open ID Connect from the drop down, then use the following data to fill out the form.
|Consumer Key||Your Client ID from the Authentiq Dashboard|
|Consumer Secret||Your Client Secret from the Authentiq Dashboard|
|Authorize Endpoint URL||
|Token Endpoint URL||
|User Info Endpoint URL||
|Token Issuer||Leave this blank|
|Send access token in header||
|Send client credentials in header||
|Custom Error URL||Leave this blank|
|Custom Logout URL||Leave this blank|
|Registration Handler||The Registration Handler you created above|
|Execute Registration As||The user you want to use to issue new registrations|
Towards the bottom, press the magnifying lens next to the Registration Handler field. In the pop-up window, select the
AuthentiqRegistrationHandler you created earlier.
Now select the magnifying lens next to the Execute Registration As input field and select the account that you would like to use to perform the registrations as.
Save your new Authentication Provider.
Log in with Authentiq!
In a private browser window, navigate to your Salesforce domain/website. You should now have the option to sign in with Authentiq below the regular username & password form.
Press Log in using Authentiq, scan the QR code with your Authentiq ID, and you're in!