Expose authentication sources in user details API #3247
Robin Shen opened 7 hours ago

Administrators reviewing which OneDev accounts to deactivate need to know how each account is configured to sign in. The user API currently omits that information.

Add an authenticationSources array to GET /~api/users/{userId} and GET /~api/users/me. Include the local password source, configured external password authenticator, or linked SSO provider names as applicable. An account can have multiple sources.

Keep the existing access checks and omit the field from the user list. The field describes configured sign-in sources and contains no credentials.

1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3247
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover