This commit is contained in:
Michael Quigley 2022-09-09 14:13:33 -04:00
parent 05fe3ef281
commit c06aa36647
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

16
docs/account-requests.md Normal file
View File

@ -0,0 +1,16 @@
# Account Request Process
## In v0.1
The `v0.1` versions of `zrok` had an open-access `zrok create account` that allows any user to create an account. Useful for closed development environments only.
## In v0.2
* The `zrok create account` command now only takes an email address.
* The email address is submitted to an open-ended API endpoint, which then records an "account request", allocating a request token.
* An email is sent to the address offering a link with the request token, allowing the user to create the account.
* The account request is marked complete.
### Garbage Collection
An background garbage collector in the controller scans the account requests, looking for unused requests, which are removed after a configurable amount of time.