sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.54k stars 412 forks source link

auth/reset-password/{guid} API Call #3813

Closed ajalewis closed 3 months ago

ajalewis commented 3 months ago

Description

I'm following the API docs to to use the auth/reset-password/{guid} API call where it mentions to supply the GUID however, I cannot find this value anywhere.

I have extracted the sqlite DB and can see the resetPasswordGuid key under the users table but its NULL for every user? Is this something you have to manually add or am I missing something?

Version

1.33.2

Steps to Reproduce

n/a

Screenshots

No response

Logs

No response

Platform

desktop

Device

n/a

Operating System

n/a

Browser

n/a

Additional Context

No response

Code of Conduct

danshilm commented 3 months ago

When a POST request is made to the /reset-password endpoint, that property will be set to a random uuid and used in the reset password link that's sent in an email. Then, when the user clicks on the link in the email, we check if that's the same uuid that was generated (and a few more conditions). If yes, we proceed with resetting the password.

If you need more info, hop on Discord and tag me in the #development channel.