Account flows and sign-up fields
Who runs sign-up, email verification, forgot password and invitations, and what sign-up asks for.
Sign-up and invitations
Each app's Account flows, under Login on its Overview tab, say who runs sign-up, email verification, forgot password and invitations.
- Identity's own, the default: Otoko Identity's own pages run them, for an app with or without a backend. Sign-up emails a code to confirm the address only with the app's Verify email for new accounts on. Off, it signs people in at once.
- The app's backend handles them: only for OCharge, whose backend already runs its own. Otoko Identity's routes for them then answer 403
flow_not_offered. - An unverified sign-up expires. With Verify email on, an account Otoko Identity's own sign-up made that is still waiting for its code a day later is deleted, so the address is free again. That way someone who signs up another person's address with a password of their own can't keep it from its owner.
Invite someone from the app's Users & roles tab, or from your backend with the API key: see Invitations.
Sign-up fields
- Under Login on the app's Overview tab, Phone number at sign-up and Date of birth at sign-up are each Off, the default, Optional or Required. Otoko Identity's sign-up form shows them to match.
- A phone number is stored in E.164 (
+and 7 to 15 digits), and a date of birth as a date from 1900-01-01 up to today. A missing required one answers 422field_required, a malformed oneinvalid_phone_numberorinvalid_birthdate. - Your app gets them in
account.created, and from/oauth/userinfo:phone_numberandphone_number_verified(alwaysfalse) with thephonescope, andbirthdatewithprofile. - A sign-up through an identity provider, or an accepted invitation, doesn't ask for them.