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.
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.
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.
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.
Field | Value |
---|---|
Name | Authentiq |
URL Suffix | authentiq |
Consumer Key | Your Client ID from the Authentiq Dashboard |
Consumer Secret | Your Client Secret from the Authentiq Dashboard |
Authorize Endpoint URL | https://connect.authentiq.io/authorize |
Token Endpoint URL | https://connect.authentiq.io/token |
User Info Endpoint URL | https://connect.authentiq.io/userinfo |
Token Issuer | Leave this blank |
Default Scopes | openid aq:name~r email~rs phone~s address aq:push |
Send access token in header | Checked |
Send client credentials in header | Unchecked |
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 |
Icon URL | http://cdn.authentiq.io/logos/small/app-icon-hexagon.png |
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.
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!