You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs(auth): document phone sign-in, admin user management, and bulk user import
Catches content/docs/permissions/authentication.mdx up with the shipped
auth surface (#2766 / PR #2771, SMS follow-up #2780 / PR #2797):
- Phone-Number Sign-In section: plugins.phoneNumber flag (and the CLI
OS_AUTH_PHONE_NUMBER_ENABLED override), /sign-in/phone-number, the
OTP flows' dependency on a wired SMS service (rate-limited), and the
placeholder-email semantics for phone-only accounts.
- Admin User Management section: /admin/create-user (one-time temporary
password + mustChangePassword → 403 PASSWORD_EXPIRED gate),
/admin/set-user-password, /admin/import-users (invite/temporary
policies incl. the SMS-invite path, upsert profile-field-only rules,
500-row sync cap, no undo).
- API endpoint reference: new Phone Number and Admin User Management
subsections.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016r6eiJzivw1CkwTDSGho1o
* docs(auth): baseline better-auth 'role' boundary refs + regen reference docs
check-role-word (ADR-0090 D3) flagged the two new mentions in
authentication.mdx — both refer to better-auth's literal `role` scalar
(a genuine boundary), so the file is baselined rather than reworded.
Also picks up the generated reference docs that lag the merged spec:
features.phoneNumber/phoneNumberOtp and the auth-config phoneNumber flag
(#2766/#2780), plus component.mdx's relationshipValueField row.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016r6eiJzivw1CkwTDSGho1o
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/docs/references/api/auth-endpoints.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,8 @@ const result = AuthEndpoint.parse(data);
62
62
|**magicLink**|`boolean`| ✅ | Magic link login enabled |
63
63
|**organization**|`boolean`| ✅ | Multi-tenant organization support enabled |
64
64
|**ssoEnforced**|`boolean`| optional | SSO-only login enforced: the UI hides the local password form + self-registration (a break-glass "use a password" link remains) |
|**phoneNumberOtp**|`boolean`| optional | Phone-number OTP sign-in and self-service password reset available — requires the phoneNumber plugin plus a deliverable SMS service (#2780) |
Copy file name to clipboardExpand all lines: content/docs/references/ui/component.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -346,6 +346,7 @@ Type: `string`
346
346
| :--- | :--- | :--- | :--- |
347
347
|**objectName**|`string`| ✅ | Related object name (e.g., "task", "opportunity") |
348
348
|**relationshipField**|`string`| ✅ | Field on related object that points to this record (e.g., "account_id") |
349
+
|**relationshipValueField**|`string`| ✅ | Parent-record field whose value relationshipField stores (default 'id'; e.g. 'name' for name-keyed junctions). |
349
350
|**columns**|`string[]`| optional | Fields to display in the related list. Optional: when omitted, columns derive from the related object's highlightFields / default list columns (a related list is just another surface that lists that object). Override chain: child highlightFields → field-level relatedListColumns → this inline list. |
350
351
|**sort**|`string \| Object[]`| optional | Sort order for related records |
351
352
|**limit**|`integer`| ✅ | Number of records to display initially |
0 commit comments