Closed
Description
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
We need to add some triggers , and improve AuthAdapter interface to support some special auth systems like MFA, WebAuthn
Describe alternatives you've considered
No alternative currently, contributors need to inject code directly in Routers/Controllers may be we can avoid this.
Additional context
The new interface should support with AuthAdapter pure implementation:
- MFA
- WebAuthn
MFA particularities:
- Store recovery keys somewhere (authData?)
- perform a check after a login (could be a classic login or other loginWith adapter)
- Need a public endpoint to receive/display recovery keys
@dblythy tell me if you see other things for MFA
WebAuthn:
- Need 2 public endpoints (assertion/attestation)
- Store multi public keys (can be done through authData)