Open enriquezrene opened 6 years ago
Detailed info about this UI and self-registration process:
Scenario: new person self-registers using TinyUI Given an anonymous site visitor When they issue a "Create Account" command And they enter a "display-name" And they enter a "authentication-identity" (email address) x
Given x looks like a valid rfc822 address
And x is unique
# the scope of uniqueness is the [tenant-uid]
And they choose an "authentication-provider"
And they issue a "SAVE" command
Then a new person object is created with a new "uid" (guid)
And Given "authentication-provider" is not "ioet.com" or "Google hosted email"
Then a password reset email is sent to the "authentication-identity"
As an anonymous user I want to create an account within the BPM so that to be able to work on the system.
To create a new account the bpm-people-api has an endpoint which allows creating a new person in this way:
POST http://localhost:3000/people Headers 'Content-Type: application/json' Body '{ "name":"Your Name", "authentication_identity": "youremail@domain.com"}'