stable
Clone or download
Read-only
Part of story #33005 login with only my passkey As the user is not connected when login, we need to allow it to get authentication challenge as an anonymous user. *Testing:* If you fetch POST /webauthn/authentication-challenge as anonymous: - 400 if body is empty - 400 if username field is missing - 404 if user not found - 403 if user has no registered passkeys - 200 + authentication challenge if all goes well Change-Id: I70324d24068e2f5a138acd0114baf97dacbb2e36
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/EqualComparisonFromWhereBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/NotEqualComparisonFromWhereBuilder.php | +1 | −1 | Go to diff View file |
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +7 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +7 | −0 | Go to diff View file |
A | src/common/User/RetrieveUserByUserName.php | +31 | −0 | Go to diff View file |
M | src/common/User/UserManager.class.php | +4 | −4 | Go to diff View file |
M | src/common/WebAuthn/Controllers/PostAuthenticationChallengeController.php | +32 | −4 | Go to diff View file |
A | tests/lib/Stubs/ProvideAndRetrieveUserStub.php | +71 | −0 | Go to diff View file |
M | tests/unit/common/WebAuthn/Controllers/PostAuthenticationChallengeControllerTest.php | +88 | −12 | Go to diff View file |