1
0
Fork 0
mirror of synced 2024-07-18 21:06:22 +12:00
appwrite/app/controllers/api
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
..
account.php fix(auth): fix MFA verification for OAuth2 sessions 2024-06-07 16:45:14 -07:00
avatars.php App::getEnv -> System::getEnv 2024-05-07 22:08:00 +12:00
console.php Fix format 2024-04-01 13:08:46 +02:00
databases.php Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00
functions.php chore: refactor finally clause 2024-05-20 22:35:40 +01:00
graphql.php Fix format 2024-04-01 13:08:46 +02:00
health.php chore: cleanup obsolete tasks and workers 2024-05-16 07:11:00 +00:00
locale.php chore: run formatter 2024-03-06 18:34:21 +01:00
messaging.php Merge branch 'main' into chore-sync-main-into-1.5.x 2024-04-23 23:43:53 +00:00
migrations.php Fix format 2024-04-01 13:08:46 +02:00
project.php fix(project): set limit to retrieve all stats for the usage range 2024-05-13 21:23:47 +00:00
projects.php Add comments 2024-05-24 13:04:30 +02:00
proxy.php Update proxy.php 2024-05-05 11:07:59 +05:45
storage.php App::getEnv -> System::getEnv 2024-05-07 22:08:00 +12:00
teams.php Update app/controllers/api/teams.php 2024-05-16 08:00:46 +05:30
users.php use internal ids 2024-03-18 09:22:15 +00:00
vcs.php Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00