ForgejoKit/Tests
Stefan Hausotte 1ad2ee2607 fix: report security-key-blocked Basic auth instead of invalid credentials
Forgejo rejects username/password (Basic auth) for accounts with a
security key / passkey (WebAuthn) enrolled, responding 401 with
"Basic authorization is not allowed while having security keys enrolled".
This was misclassified as .invalidCredentials, showing "Invalid username
or password" and sending users in circles. Add a dedicated
.basicAuthBlockedBySecurityKey case that tells the user to use a token.

Also extract AuthenticationError into its own file.
2026-06-15 18:43:55 +02:00
..
ForgejoKitTests fix: report security-key-blocked Basic auth instead of invalid credentials 2026-06-15 18:43:55 +02:00
.swiftlint.yml chore: improved formatting and linting 2026-06-04 11:29:23 +02:00