PingOne
Use a SAML application in PingOne. PingOne sends only the attribute mappings of the application.
Preset values
Section titled “Preset values”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>.
Before you start
Section titled “Before you start”Create the provider in Magento, and save it as inactive. Copy the SP Entity ID and the ACS URL from the Service Provider fieldset.
Configure PingOne
Section titled “Configure PingOne”-
In the PingOne admin console, go to Applications.
-
Add an application of the type SAML Application.
-
Import the file from Download SP Metadata. Or enter the ACS URL and the SP Entity ID of Magento manually.
-
In the attribute mappings, map
saml_subjectto Email Address. -
Add
emailwith Email Address,firstNamewith Given Name andlastNamewith Family Name. -
Optional: add
groupswith Group Names. -
Download the IdP metadata from the Configuration tab.
-
Turn on the application, and give access to the users or the groups that can sign in to Magento.
PingOne settings at a glance
Section titled “PingOne settings at a glance”| 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.
Configure Magento
Section titled “Configure Magento”-
Open the provider in Magento.
-
Click Import Metadata, and select the metadata file of PingOne.
-
In Attribute Mapping > Load Preset, select PingOne / PingID, if the import did not select it.
-
Examine the imported values, and the note of the preset.
-
In Your Password, enter your current admin password.
-
Click Save and Continue Edit.
-
Click Test Connection, and sign in with a test user.
-
If the test succeeds, turn on Active, and save the provider again.
-
Add and verify the domain of the users.
Groups and roles
Section titled “Groups and roles”Group Names sends the names of the groups. For the role rules, refer to Role mapping.
Two-factor authentication
Section titled “Two-factor authentication”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.