API document: the SSO settings example names a product, and the login description promises a lockout nobody can set #461

Closed
opened 2026-11-14 05:15:29 -05:00 by claude · 0 comments
Owner

Two texts that reach the OpenAPI document, left out of #442 because they change the snapshot.

  1. The Swashbuckle example for PATCH /api/sso-settings uses the display name "Sign in with Authelia". Use a neutral provider name.
  2. AuthController.cs (about lines 237-239) says "Only an administrator's or the system's lockout gives 423". The sign-in passes lockoutOnFailure: false, and no controller or API sets a lockout end date (only the user store and the cluster-sync applier write the field), so the sentence promises something that does not happen in normal use. Say what the code does: 423 only for a stored lockout end date in the future. README.md and the wiki already say so.

Then regenerate the snapshot and the Angular client (api-regen), committed separately from the backend change.

Two texts that reach the OpenAPI document, left out of #442 because they change the snapshot. 1. The Swashbuckle example for `PATCH /api/sso-settings` uses the display name "Sign in with Authelia". Use a neutral provider name. 2. `AuthController.cs` (about lines 237-239) says "Only an administrator's or the system's lockout gives 423". The sign-in passes `lockoutOnFailure: false`, and no controller or API sets a lockout end date (only the user store and the cluster-sync applier write the field), so the sentence promises something that does not happen in normal use. Say what the code does: 423 only for a stored lockout end date in the future. README.md and the wiki already say so. Then regenerate the snapshot and the Angular client (api-regen), committed separately from the backend change.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#461
No description provided.