As an anonymous user
I want to be able to confirm a subscription request to the service by a link sent by mail
So that I can validate my email and create my account
Architectural overview
Accounts MUST NOT be created as valid with the POST /accounts route
The POST /accounts route MUST create the account with a validation status and an attach validation request with a token
The token of the validation request will be used on a POST /validations/:token to validate the account
Until he's validated, an account CANNOT be used to login on the application
When logging in on a non-validated account, the user will be prompted why he can't, and have the choice to send another validation request
A new validation request will make the previous requests invalid
Needs
As an anonymous user
I want to be able to confirm a subscription request to the service by a link sent by mail
So that I can validate my email and create my account
Architectural overview
valid
with thePOST /accounts
routePOST /accounts
route MUST create the account with a validation status and an attach validation request with atoken
POST /validations/:token
to validate the account