Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkraume authored and bnf committed Feb 26, 2024
1 parent d95a3ed commit b3aa28c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ and therefore a WebAuthn credential is additonally bound to a domain.

This puts the following limitations on usages of this provider:

* Requires HTTPS or a localhost environment
* Requires a valid SSL certificate or a localhost environment
(therefore use `http://{myproject}.localhost` as local development URL)
* Works only for one domain, multi domain sites need to have TYPO3 backend redirected to exactly
one domain, or should use alternative MFA MFA providers.
one domain, or should use alternative MFA providers.

### Using WebAuthn Provider in production and staging environments

It is still possible to use WebAuthn in production and staging environments, but it requires some manual steps:

1. Create a security token in the production environment.
2. Create recovery codes or register a time-based one-time password (TOTP) in production.
3. Sync the `be_user' table from production to staging.
4. Log in to staging with a recovery code or TOTP.
5. Create a security token in the staging environment.
6. Sync the user's `be_users.mfa' database field back to production.
7. Optional: Regenerate recovery codes in production to have a fresh set of tokens.

## Alternative Extensions

Expand Down

0 comments on commit b3aa28c

Please sign in to comment.