auth: widen identity provider seam

This commit is contained in:
github-ops
2026-05-15 06:09:34 +00:00
parent c28f07901a
commit a1e90585b1
6 changed files with 128 additions and 12 deletions
+3
View File
@@ -912,6 +912,9 @@ impl AdminService {
.await
{
Ok(LoginOutcome::Authenticated(identity)) => Ok(identity),
Ok(LoginOutcome::TwoFactorRequired(_)) => Err(ApiError::internal(
"two-factor login flow is not configured for this service",
)),
Err(error) => Err(map_identity_error(error)),
};
}