forgejo/routers/web/auth
Gusted 63736e8301
[FEAT] Add support for webauthn credential level 3
- For WebAuthn Credential level 3, the `backup_eligible` and
`backup_state` flags are checked if they are consistent with the values
given on login. Forgejo never stored this data, so add a database
migration that makes all webauthn credentials 'legacy' and on the next
first use capture the values of `backup_eligible` and `backup_state`.
As suggested in https://github.com/go-webauthn/webauthn/discussions/219#discussioncomment-10429662
- Adds unit tests.
- Add E2E test.
2024-08-29 10:05:03 +02:00
..
2fa.go
auth.go [BUG] Make logout event non-blocking 2024-08-12 19:13:23 +02:00
auth_test.go Make "/user/login" page redirect if the current user has signed in (#29583) 2024-03-11 23:36:58 +07:00
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
main_test.go
oauth.go id_token & userinfo endpoint's public groups check 2024-08-09 14:58:15 +02:00
oauth_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
password.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
webauthn.go [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00