SuperEric
11/14/2023, 4:26 PMcreate_reset_password_link
sdk function calls get_password_reset_link
with the wrong order of arguments:
https://github.com/supertokens/supertokens-python/blob/v0.16.8/supertokens_python/recipe/emailpassword/asyncio/__init__.py#L148-L149
https://github.com/supertokens/supertokens-python/blob/v0.16.8/supertokens_python/recipe/emailpassword/utils.py#L303
create_reset_password_link
gives the recipe_id as the second argument to get_password_reset_link
and the token as the third argument, but get_reset_password_link
defines the token as the second parameter to the function and the recipe id as the third parameter.
As a result when we call the send_reset_password_email
the link in the email looks like /reset-password?token=emailpassword&rid=<actual token>
rp_st
11/14/2023, 4:28 PMSuperEric
11/14/2023, 4:28 PMSuperEric
11/14/2023, 8:01 PMrp_st
11/15/2023, 6:29 AMrp_st
11/15/2023, 7:53 AM0.17.0
. Please try that 🙂