Skip to content

PingOne

Use a SAML application in PingOne. PingOne sends only the attribute mappings of the application.

The PingOne / PingID preset fills in these attributes:

Field Attribute
Email Attribute email
First Name Attribute firstName
Last Name Attribute lastName
Group Attribute groups

The import selects this preset when the IdP entity ID is https://auth.pingone.<region>/<environment ID>.

Create the provider in Magento, and save it as inactive. Copy the SP Entity ID and the ACS URL from the Service Provider fieldset.

  1. In the PingOne admin console, go to Applications.

  2. Add an application of the type SAML Application.

  3. Import the file from Download SP Metadata. Or enter the ACS URL and the SP Entity ID of Magento manually.

  4. In the attribute mappings, map saml_subject to Email Address.

  5. Add email with Email Address, firstName with Given Name and lastName with Family Name.

  6. Optional: add groups with Group Names.

  7. Download the IdP metadata from the Configuration tab.

  8. Turn on the application, and give access to the users or the groups that can sign in to Magento.

PingOne setting Value
Application type SAML Application
ACS URLs ACS URL
Entity ID SP Entity ID
IdP metadata On the Configuration tab. Import this file in Magento.
Attribute name Source at PingOne Note
saml_subject Email Address Attribute mapping
email Email Address Attribute mapping
firstName Given Name Attribute mapping
lastName Family Name Attribute mapping
groups Group Names Optional

The attribute names must be exactly the same as in the Magento attribute mapping. To see the names that PingOne sends, test the provider.

  1. Open the provider in Magento.

  2. Click Import Metadata, and select the metadata file of PingOne.

  3. In Attribute Mapping > Load Preset, select PingOne / PingID, if the import did not select it.

  4. Examine the imported values, and the note of the preset.

  5. In Your Password, enter your current admin password.

  6. Click Save and Continue Edit.

  7. Click Test Connection, and sign in with a test user.

  8. If the test succeeds, turn on Active, and save the provider again.

  9. Add and verify the domain of the users.

Group Names sends the names of the groups. For the role rules, refer to Role mapping.

PingOne does not send how the user authenticated. Thus the two-factor authentication of Magento always applies, also after a PingID sign-in.

For problems, refer to Troubleshooting.