Step 1: Create a SAML application
Log in to the Okta Admin Console. In the left sidebar, click Applications > Applications to enter the Applications page.

Click Create App Integration. In the Create a new app integration dialog box, select SAML 2.0 and click Next.
On the Create SAML Integration page, configure the following parameters, and then click Next to enter the Configure SAML page.
Step 2: Configure SAML parameters
In this step, you need to manually enter the SP metadata information obtained from AOC into Okta. Since Okta does not support importing SP metadata files directly, open your SP metadata file and configure the following settings.
Complete the following configurations:
| Parameter | Description |
|---|---|
| Single sign-on URL | The Location attribute of the AssertionConsumerService tag in the SP metadata. |
| Audience URI (SP Entity ID) | The entityID attribute of the EntityDescriptor tag in the SP metadata. |
| Name ID format | Set Name ID format to Unspecified. |
| Application username | The Okta application attribute to be used as the login name in AOC. |

Click Show Advanced Settings to expand additional configuration options and complete the following configuration:

Configure Signature Certificate:
ds:X509Certificate tag from the SP metadata. Create a new .pem or .crt file and structure it in the following format:-----BEGIN CERTIFICATE-----
<CERTIFICATE_CONTENT>
-----END CERTIFICATE-----Step 3: Configure mapping rules
After completing the basic configuration, you can add additional mapping rules to configure extra user identity information, such as the email address and phone number.
On the Applications > Applications page, click the name of the configured application to enter the application details page.
Click the Sign On tab, and then click Add expression in the Attribute statements section.

Enter Name and Expression.
email. For a phone number mapping, set it to mobile.After completing the above configuration, click Next to enter Feedback. Keep the default settings on the Feedback page, and then click Finish to complete the configuration.
Step 4: Add assignments
After creating the application, you must assign users or user groups to the application, or they will not be able to log in using this SSO.
On the Applications > Applications page, click the name of the configured application to enter the application details page.
Click the Assignment tab, click Assign, and then select Assign to People or Assign to Groups.

Select the users or groups to authorize, and complete the assignment.
Step 5: Obtain the IdP metadata
Finally, you need to obtain the IdP metadata from Okta to complete the registration in AOC.
okta-idp-metadata.xml.After completing all the steps above, you have the IdP metadata required to register with AOC.