Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Migrate to API calls for 2FA sync with SSO

Akhil requested to merge dev/2fa-kc-api into main

When disabling 2FA, the following API calls are done:

  • Get(POST) admin access token for authentication
  • GET user ID from SSO using nextcloud username
  • GET credential IDs from SSO using SSO user ID
  • DELETE credentials from SSO using credential IDs

When enabling 2FA, the following API calls are done:

  • Get(POST) admin access token for authentication
  • GET user ID from SSO using nextcloud username
  • GET credential IDs from SSO using SSO user ID
  • DELETE credentials from SSO using credential IDs
  • PUT new credential in SSO

Merge request reports

Loading