Page MenuHomePhabricator

[keyserver] Add doNotRegister flag to siwe_auth endpoint
ClosedPublic

Authored by ashoat on Aug 7 2023, 12:48 PM.
Tags
None
Referenced Files
F2835658: D8753.diff
Sat, Sep 28, 2:19 PM
Unknown Object (File)
Fri, Sep 27, 9:09 AM
Unknown Object (File)
Fri, Sep 27, 9:09 AM
Unknown Object (File)
Fri, Sep 27, 9:07 AM
Unknown Object (File)
Fri, Sep 27, 8:38 AM
Unknown Object (File)
Thu, Sep 26, 10:54 PM
Unknown Object (File)
Tue, Sep 24, 4:28 AM
Unknown Object (File)
Tue, Sep 17, 12:56 PM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/siwe
Lint
No Lint Coverage
Unit
No Test Coverage