- Created by Universal Importer for Confluence , last modified by Phillip Hanegan on May 08, 2018
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
The EmpowerID SSO framework allows you to configure PayPal as an identity provider for the EmpowerID Web application. EmpowerID integrates with PayPal using the OAuth protocol to allow your users to log in to EmpowerID using their PayPal account.
This topic describes how to configure an IDP connection for PayPal and is divided into the following activities:
- Adding the Client ID and Client Secret to the PayPal OAuth Connection
- Adding MFA Points to the PayPal OAuth Connection
- Adding a Login tile for PayPal
- Testing the PayPal connection
As a prerequisite to creating an SSO Connection for PayPal as an Identity Provider, you must have a PayPal for Business account and register the EmpowerID web application for your organization under the "Applications" tab in the PayPal Developer site. This creates a set of values known by PayPal and the EmpowerID web application that allow the two to enter into a federated trust relationship. These values include the Client ID and the Secret (these values are generated by PayPal), as well as the App redirect URL (this value is entered by you to tell PayPal to post the assertion of a user's identity to the EmpowerID Assertion Consumer Service).
For specific directions on registering EmpowerID as an application in Paypal, see the information provided by Paypal at https://developer.paypal.com.
When registering EmpowerID in Paypal, use the following URL as the Callback or Return URL, replacing "FQDN_OF_YOUR_EMPOWERID_SERVER"with the FQDN or fully resolvable DNS of the EmpowerID Web server in your environment.
https://FQDN_OF_YOUR_EMPOWERID_SERVER/WebIdPForms/oauth/v2
Once the IDP Connection has been set up for PayPal, you can create a link similar to the one below to allow users to login to EmpowerID using PayPal.
https://FQDN_OF_YOUR_EMPOWERID_SERVER/EmpowerIDWebIdPForms/Login/EmpowerIDWebSite/PayPal?returnUrl=%2FEmpowerIDWebIdPForms%2F
Be sure to replace "FQDN_OF_YOUR_EMPOWERID_SERVER" with the FQDN or fully resolvable DNS of the EmpowerID Web server in your environment and "PayPal" with the name of the IDP connection you create for PayPal in EmpowerID.
To add the Client ID and Client Secret and to the Paypal OAuth Connection
- From the Navigation Sidebar of the EmpowerID Web interface, navigate to the OAuth Application management page by expanding Admin > SSO Connections and clicking OAuth.
- From the OAuth Applications management page, click the OAuth Service Provider tab and then search for Paypal.
- From the OAuth Service Provider grid, click the Paypal link.
- In the External OAuth Provider Details page that appears, click the Edit button for the specific PayPal connection you want to edit. By default, EmpowerID includes one connection. However, you can add as many connections for PayPal as your organization needs.
- In the OAuth Connection pane that appears, type the Client ID PayPal generated for your application in the Consumer Key field and the Secret in the Consumer Secret field.
- Prepend the value of the Callback Url with the FQDN of your EmpowerID Web server, using the https scheme. For example, the FQDN of the EmpowerID Web server in our environment is "sso.empowersso.com" so the full Callback Url for our site is "https://sso.empowersso.com/webidpforms/oauth/v2".
- Click Save to close the OAuth Connection pane.
- Optionally, add any desired MFA points to the PayPal application by following the below steps.
To add MFA points to the PayPal application
- From the External OAuth Providers page for PayPal, click the Provider Edit link at the top of the page.
- In the MFA Point Value field, type the number of MFA points you want to give to users logging in with Paypal.
- Click Save.
Next, add a login tile for Paypal to the desired IdP Domains. This allows your users to authenticate to EmpowerID with their Paypal credentials. If you have not set up an IdP Domain for your environment, you can do so by following the directions in the below drop-down.
To add a login tile for Paypal
- From the Navigation Sidebar, expand Admin > Applications and Directories > SSO Connections and click SSO Components.
- In the IdP Domain Details page that appears, click the External OAuth Providers tab and check the box beside Paypal.
Click Save.
To give users the ability to log in using their EmpowerID credentials, be sure to select EmpowerID from the SAML Identity Providers tab of the IdP Domain Details page.
Now that the IDP Connection is configured, you can test it by following the below procedure.
To test the PayPal connection
- From the Navigation Sidebar, expand IT Shop and click Workflows.
- From the Workflows page, recycle the EmpowerID App Pools by clicking Recycle EmpowerID App Pools.
- Log out of the EmpowerID Web interface and navigate your browser to the domain name you configured for the PayPal IdP connection.
- Click the Login using Paypal button.
- This redirects your browser to the PayPal Login for the EmpowerID web application you created in PayPal. Enter your PayPal credentials and click Log In.
- Click Continue.
Back in the EmpowerID Web interface, click Yes to indicate that you have an EmpowerID login.
Users without EmpowerID Persons can request EmpowerID accounts by clicking No. This initiates the Create User Account workflow, which displays a form in the browser to allow the user to fill in the appropriate information. If a user submits the request, EmpowerID routes that request to those individuals in your environment with the ability to approve or deny the request and returns the user to the EmpowerID web login.
- Type your EmpowerID Login or Email in the form and click Submit. The EmpowerID Person must have a valid email address as EmpowerID sends a one-time password to that address.
- Check your email for the one-time password.
- Back in the EmpowerID Web interface, type the one-time password into the Password field of the One-Time Password Validation form and click Submit.
Upon successful submission of your one-time password, EmpowerID logs the user in and joins the Paypal account to their EmpowerID Person account.
If you have set up the user's Password Manager policy to require the user accumulate a specific number of trust points beyond those granted by the identity provider, EmpowerID will direct the user through any Multi-factor methods you have enabled on the policy until they reach the needed point threshold to log in.
- No labels