Organization profiles

The profile your organization keeps of each person, its built-in, shared and private fields, who may read and write each field, and the hosted account page where people manage it.

Your organization keeps one profile of each person who uses its applications. It is created the first time the person authorizes one of your applications, and it holds your organization's view of them: a display name, a first, middle and last name, a nickname, a website, a picture and a banner, a gender, a date of birth, a language, a username of its own, and the fields you add. Another organization's profile of the same person is separate, and neither reads the other.

Every application of your organization reads the same profile, through the scopes the person granted it and the settings below.

Built-in fields

On the organization's Profiles → Fields tab, each built-in field is hidden, optional or required. A required field the person has not filled in is asked after consent, the next time they authorize one of your applications. A picture is never required, and the banner is hidden until you show it.

Shared and private fields

You can add fields of your own, of the same types as sign-up questions. They come in two kinds:

KindBelongs toWho reads and writes it
Shared fieldYour organization, on every person's profileThe applications you give access to
Private fieldOne application: its sign-up questionsThat application only

A shared field is added on Profiles → Fields. How many you can add depends on your organization's plan (max_custom_profile_fields, three on Free); see Plans and limits. For each shared field you choose:

  • Which applications read it and which may write it. A new shared field can be read by every application and written by none. Writing includes reading.
  • Whether the person sees it. A field hidden from the person is still on their profile for your applications. A required field is always one the person sees.
  • Whether the person can change it. If not, they see it and cannot edit it.

A field's key is unique across your organization's shared fields and every application's sign-up questions, and neither the key nor the type can change after the field is created.

When an application moves to another organization, each person who uses it gets a profile in the new organization, made from their account. The application's private fields and their values move with it; the previous organization's shared and built-in values stay there. A private field whose key the new organization already uses blocks the move until it is renamed.

An application can narrow what it uses on its own Profiles tab: hide built-in fields, shared fields, sections and its hosted account page. It can only hide what your organization shows, never show what it hides.

Read and write a profile

FromHowReadsWrites
Your application, for the personAn access token, /api/v1/userinfo/profile/With profile; date of birth and language need profile:editWith profile:edit
Your application's serverAn API key, /api/v1/manage/users/{user_id}/profile-fields/With profile_fields:read, what the person's consent lets you readWith profile_fields:write, when the person granted profile:edit

Shared field values are under fields and your application's own under private_fields, both by key. Your server reads and writes your application's own fields without a consent scope. A field your application does not read is answered with profile_field_not_found, and one it reads and may not write with profile_field_read_only. The username is never written this way.

A value is checked only when it changes. If you narrow a field after people answered it, say by removing a choice, the answers already given stay until somebody changes them, and sending a value back unchanged is not a change.

When a field your application can read changes, you receive profile.updated, naming the fields that changed.

Retire a field and delete its answers

Removing a field retires it. It leaves every form and every response, and the answers stay; you can restore it later. To delete a retired field's answers for good, delete them from the retired list on the Fields tab. You confirm it is you first, and the deletion cannot be undone. The key stays taken.

Changes and editing

Each person's page on the Users tab has a Profile tab and a Changes tab. Changes lists every change to the profile, with the value before and after and who made it: the person, an application, an administrator or onefold. Anyone who can view users reads both.

A member whose role allows editing a person's organization profile edits it from the Profile tab, pictures included. The person sees that your organization changed it, and which fields, in their own activity.

The hosted account page

The hosted account page is where a person manages their profile with your organization: their fields, what happened between them and your applications, their connections, their sessions and devices, and their security. It wears your application's branding.

WhereAddress
onefold's own hosthttps://onefold.eitozx.com/oauth/account/profile?client_id=…
Your custom domainhttps://auth.example.com/account/profile, at the path you choose

The page is on unless your organization turns it off on Profiles → Hosted page, or an application turns off its own. Your application's private fields are on its page while the person has authorized your application. The organization chooses which sections people see, on Profiles → Sections.

People can open the page from their own profile on onefold. On your custom domain they continue without signing in again when your security policy accepts how they signed in.

On this page