stellar / stellar-disbursement-platform-backend

Stellar Disbursement Platform Backend
Apache License 2.0
37 stars 22 forks source link

[SDP-1377] Unable to get a token from Forgot Password on messaging service failure #466

Closed marwen-abid closed 5 days ago

marwen-abid commented 1 week ago

What

Wrap forgot password request in a transaction.

Why

This issue seems to be related to the fact that we don’t send the reset token once we establish that the user already has a valid token. This causes the user to get stuck if the token is generated and persisted, but submitting the token fails.

Checklist

PR Structure

Thoroughness

Configs and Secrets

Release

Deployment

stellar-jenkins commented 1 week ago

stellar-disbursement-platform-backend-preview is available here:
SDP: https://sdp-backend-pr466.previews.kube001.services.stellar-ops.com/health
AP: https://sdp-ap-pr466.previews.kube001.services.stellar-ops.com/health
Frontend: https://sdp-backend-dashboard-pr466.previews.kube001.services.stellar-ops.com

stellar-jenkins commented 1 week ago

Something went wrong with PR preview build please check

stellar-jenkins commented 1 week ago

stellar-disbursement-platform-backend-preview is available here:
SDP: https://sdp-backend-pr466.previews.kube001.services.stellar-ops.com/health
AP: https://sdp-ap-pr466.previews.kube001.services.stellar-ops.com/health
Frontend: https://sdp-backend-dashboard-pr466.previews.kube001.services.stellar-ops.com

stellar-jenkins commented 6 days ago

stellar-disbursement-platform-backend-preview is available here:
SDP: https://sdp-backend-pr466.previews.kube001.services.stellar-ops.com/health
AP: https://sdp-ap-pr466.previews.kube001.services.stellar-ops.com/health
Frontend: https://sdp-backend-dashboard-pr466.previews.kube001.services.stellar-ops.com

stellar-jenkins commented 5 days ago

stellar-disbursement-platform-backend-preview is available here:
SDP: https://sdp-backend-pr466.previews.kube001.services.stellar-ops.com/health
AP: https://sdp-ap-pr466.previews.kube001.services.stellar-ops.com/health
Frontend: https://sdp-backend-dashboard-pr466.previews.kube001.services.stellar-ops.com