Context
User may want to ask for resend confirmation email. It can be done by this endpoint.
Blockers
Make sure that #279 is done (must be merged before)
Presentation logic:
[ ] Endpoint should be protected by JwtAuth guard. You can read userId from token.
[ ] Create EmailConfirmationRestController in modules/write/email-confirmation/presentation/rest with endpoint POST /email-confirmation. Accept for example: {confirmationFor: 'action-name'} as request body. Response body is empty with status 200.
[ ] Execute RequestEmailConfirmation command on endpoint call. confirmationToken should be get by idGenerator.generate()
Context User may want to ask for resend confirmation email. It can be done by this endpoint.
Blockers
Presentation logic:
modules/write/email-confirmation/presentation/rest
with endpointPOST /email-confirmation
. Accept for example:{confirmationFor: 'action-name'}
as request body. Response body is empty with status 200.idGenerator.generate()
Event Modeling MIRO link: https://miro.com/app/board/o9J_lQvnN28=/?moveToWidget=3074457363395350271&cot=14