1
0
Fork 0
mirror of synced 2024-07-08 16:06:02 +12:00
appwrite/app/controllers
Steven Nguyen a09a09a7a9
fix(auth): fix MFA verification for OAuth2 sessions
Before this, users who only signed in with OAuth2 were not able to
verify their sessions with MFA because their session already used an
email factor and they couldn't use an additional email factor.

This commit changes the OAuth2 session to include 2 factors: email and
oauth2. This second special factor is used to bypass MFA checks. It is
fine to bypass MFA checks because OAuth2 is supposed to handle the
entire authentication process, verifying who the user is and we, as the
resource provider, only need to trust the OAuth2 provider.
2024-06-07 16:45:14 -07:00
..
api fix(auth): fix MFA verification for OAuth2 sessions 2024-06-07 16:45:14 -07:00
shared Merge remote-tracking branch 'origin/refactor-usage-sn' into sync-1.5.x-with-cloud 2024-05-24 16:56:57 +12:00
web fix: add mfa path to console 2024-02-23 12:13:22 +01:00
general.php refactor: remove version format const 2024-05-24 16:27:13 +01:00
mock.php Fix format 2024-04-01 13:08:46 +02:00