HomePhabricator
Diffusion Comm 67f0fc6b4064

[keyserver] Add doNotRegister flag to siwe_auth endpoint

Description

[keyserver] Add doNotRegister flag to siwe_auth endpoint

Summary: We need this optional flag so that we can prevent the web app from registering new accounts. See ENG-2930 for details.

Test Plan:

  1. Delete the Comm account for my test SIWE user
  2. Patch web/account/siwe-login-form.react.js to include this flag
  3. Confirm that it's now impossible to SIWE with my test SIWE user, and that the correct error is displayed in the console

Reviewers: atul, ginsu

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8753

Details

Provenance
ashoatAuthored on Aug 7 2023, 12:46 PM
Reviewer
ginsu
Differential Revision
D8753: [keyserver] Add doNotRegister flag to siwe_auth endpoint
Parents
rCOMM4a80b245a2c8: [Buildkite] Add automatic retries to workflows missing it
Branches
Unknown
Tags
Unknown