Profile attributes
Standard attributes
Section titled “Standard attributes”Every project has the standard OpenID Connect profile attributes. These are name, given name, family name, middle name and nickname; profile, picture and website addresses; gender and birthdate; a postal address; and time zone (zoneinfo) and locale.
Under Standard attributes, you choose three things for each of them:
| Setting | What it controls |
|---|---|
| Users | Whether people can’t see it, can see it, or can edit it on their account page and in flow forms. |
| Tokens | Whether applications receive it in ID tokens and userinfo. |
| Portal | Whether your administrators can’t see it, can see it, or can edit it. |
You can also add rules to the name attributes and address lines, such as length limits and allowed characters, and choose whether applications receive the email address and username.
Custom attributes
Section titled “Custom attributes”On the Paid plan, you can define attributes of your own under Custom attributes. An attribute can be text, a number, a whole number, a yes/no value, one of a list of options, a phone number, an email address, a URL or a country code.
Each custom attribute can have rules about its length, range, pattern and allowed characters, and the same three access settings as the standard attributes. Applications receive them in tokens and userinfo under custom_attributes:
{ "custom_attributes": { "company": "Acme", "seats": 25 } }Collecting attributes
Section titled “Collecting attributes”To ask people for details when they sign up or later, add a form to a sign-in flow. It can ask every time, or only while a detail is missing.
If people sign in with social accounts, turn on Fill in profiles from social accounts to take their names and pictures from Google, Apple and the other providers.
To set attributes from your own systems, use the Admin API (PATCH /users/{id}/profile), or the Call your API step in a sign-in flow.
Scopes and claims
Section titled “Scopes and claims”| Scope | Claims |
|---|---|
email |
email, email_verified |
profile |
name, given_name, family_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale |
address |
address (OpenID Connect’s structured address) |