- Add EmailTokenService for handling email verification and password reset tokens. - Create EmailService for sending verification and reset emails via SMTP. - Update AuthService to handle email verification status during login. - Modify user registration to redirect to a check email screen instead of issuing a token. - Implement resend verification email functionality. - Add deep link handling for email verification and password reset in the mobile app. - Update mobile app routes and components to support new email verification flow. - Enhance error handling for unverified emails during login attempts. - Update configuration to include SMTP settings for email service.
22 lines
333 B
YAML
22 lines
333 B
YAML
info:
|
|
name: Reset Password
|
|
type: http
|
|
seq: 8
|
|
|
|
http:
|
|
method: POST
|
|
url: "{{base_url}}/api/v1/auth/reset-password"
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"token": "{{reset_token}}",
|
|
"new_password": "novaSenha123"
|
|
}
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|