Skip to content

👨‍💻 Forgot Pasword Api #71

@ysumut

Description

@ysumut

👨‍💻 Görevin tamamlanması için gerekenler

Mail akışı

  • 📃 Forgot password için post route oluşturulacak.
  • 📃 Request olarak email alınacak
  • 📃 Email ile db'den user_id alınacak ve token oluşturulacak. Kullanıcı mailine şifre değiştirme linki yollanacak (Mail'deki link örneği: baseUrl/user/forgotPass?token=<token>)
  • 📃 Kullanıcı linke bastığı zaman mobile yönlendirilmiş olacak.

Şifre değiştirme akışı

  • 📃 Şifre değiştirmek için başka bir post route oluşturulacak.
  • 📃 Request olarak yeni şifre ve token alınacak.
  • 📃 Token'deki user_id alınıp, yeni şifre ile kullanıcı şifresi güncellenecek.
  • 📃 Response olarak hata veya başarı durumu dönecek.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions