• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Check password reset link expiry or not

Scheduled Pinned Locked Moved
Q&A
2
2
1.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jogiprasadpakki
    last edited by 22 Jul 2020, 12:40

    I am using api to reset password from the documentation
    https://fusionauth.io/docs/v1/tech/apis/users#start-forgot-password-workflow from this i need to send reset id and new password after that it show success or fail if resetid expiry. Is any way to check rest id is valid or not without showing reset form

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 22 Jul 2020, 20:05

      I don't believe there's any way to find the expiry of a changePasswordId.

      You could:

      • keep track of it yourself, since you know when you started the flow and you know how long the id is good for (it is in the tenant settings, I believe).
      • build your own request password flow and just use this call: https://fusionauth.io/docs/v1/tech/apis/users#change-a-users-password with the loginId and an API key
      • just try to change it and if you get a 404, redisplay the reset password flow. This is the default option.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post