Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breaking changes] We need a CreateAccount and ConfirmAccount sequence and change behavior of AddUser and SignIn sequence #6

Open
CharlesGrimont opened this issue Jan 26, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@CharlesGrimont
Copy link
Member

[Breaking changes]

We need a CreateAccount Sequence to allow Account Creation directly by users :

  • This sequence must be public without authenticated context required
  • It should called automatically a sequence that send an email to confirm account ( ConfirmAccount Sequence)

We need a ConfirmAccount Sequence that send a confirmation email to new user

  • Confirmation email will be sent with a password reset key
  • If password reset key is valid, then user will be marked as confirmed and be able to login

We need to change behavior of AddUser Sequence :

  • This sequence should have a askForPasswordReset variable
  • If called with askForPasswordReset to false, it should now mark users as confirmed since its creation has been done by an admin
  • If called with askForPasswordReset to true, it should still mark user as draft and send an email to reset password. Whereas the password has not been reset by the user it should not allow to login

We need to change behavior of SignIn Sequence :

  • SignIn Sequence must now refuse to login non confirmed accounts and ask them to Confirm account
@CharlesGrimont CharlesGrimont added the enhancement New feature or request label Jan 26, 2023
@CharlesGrimont CharlesGrimont self-assigned this Jan 26, 2023
@CharlesGrimont CharlesGrimont changed the title We need a CreateAccount and ConfirmAccount sequence and change behaviour of AddUser and SignIn sequence [Breaking changes] We need a CreateAccount and ConfirmAccount sequence and change behaviour of AddUser and SignIn sequence Jan 26, 2023
@CharlesGrimont CharlesGrimont changed the title [Breaking changes] We need a CreateAccount and ConfirmAccount sequence and change behaviour of AddUser and SignIn sequence [Breaking changes] We need a CreateAccount and ConfirmAccount sequence and change behavior of AddUser and SignIn sequence Jan 26, 2023
CharlesGrimont added a commit that referenced this issue Jan 26, 2023
CharlesGrimont added a commit to convertigo/c8oprj-lib-user-manager-ui-ngx that referenced this issue Jan 26, 2023
to be tested
partially done,
Still have to finish:
* Logo pass to ui
* Confirmation message when forms submitted
@CharlesGrimont
Copy link
Member Author

For lib_ui must finish:

  • Logo pass to ui
  • Confirmation message when forms submitted

For lib_back_end must finish:

  • Different Email between kind of task.
  • maybe auto translate

CharlesGrimont added a commit that referenced this issue Feb 10, 2023
CharlesGrimont added a commit to convertigo/c8oprj-lib-user-manager-ui-ngx that referenced this issue Feb 10, 2023
CharlesGrimont added a commit to convertigo/c8oprj-lib-user-manager-ui-ngx that referenced this issue Feb 10, 2023
CharlesGrimont added a commit to convertigo/c8oprj-lib-user-manager-ui-ngx that referenced this issue Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant