How to Create Custom Optional Attributes for Self Service SSO in Auth0
This article demonstrates how to override the default optional attribute list when generating Self-service access tickets.
The Self-service Single Sign-On (SSO) access ticket generation process generates a default set of optional attributes that can enhance the user profile. The default attributes available can vary between Identity Providers and connection types. There may be instances where a specific set of optional attributes is required to be used instead of the default.
Sample list of optional attributes for an Okta OpenID Connect (OIDC) connection:
- Enterprise Connections
- Self-service Single Sign-On (SSO)
Follow the steps below to override the default optional attribute list when generating Self-service access tickets:
- From the Auth0 dashboard, navigate to Authentication > Enterprise > Self-Service SSO.
- Select the Create Profile button and complete the Name field, but leave the User Attribute Profile as is(that is, do not attach a User Attribute Profile) and click the Create button.
- Click the User Profile tab and enter the new optional fields; required fields can also be added here.
- Click the Generate Ticket button on the top right of the screen, configure the ticket and test the new ticket URL fields:
NOTE:
- When custom attributes are added, these replace the optional attributes list.
- For further information, please review the Manage Self-Service SSO public documentation.