Create Salesforce Petstore Policies

1. Access “Trust_Network” Tab and click on “Create New Authority” button

force-trust-network

2. Create a “Salesforce Authentication” with Petstore_User custom object’s Email and Password fields:

force-sfdc-auth

3. Create a “Salesforce Policy Authority” and add “userid” runtime parameter as the following:

force-policy-authority

4.  Configure the SOQL query to extract attributes like the following:

force-soql-query

4. Create an output policy with phone authentication as the second factor:

force-output-policy

5.  Enable “Phone Authentication” as the second factor:

force-phone-auth

7.  After turning “ON” the newly created authorities, press “Create New Policy” to create two petstore policies

force-new-policy

8.  Create “PetstoreUserActivation” policy by dragging and dropping “Email Authentication”.

force-user-activation-1

9.  Select “Access force.com Page” tab and press “Save” button

force-user-activate-2

10.  Create a new two factor authentication policy:

force-two-factor-1

11. Select “Access force.com Application” tab and enter Home/Sign In page parameters as the following:

Petstore-two-factor-2

 


-- Download Create Salesforce Petstore Policies as PDF --