Hi, I have a question, why when I update user metadata by id and user with this id doesn't exist in database, this process create a table entry with this id and data? Can I fix it or check existance of user in easy way?
r
rp_st
09/13/2022, 12:26 PM
hey @IaS1506
rp_st
09/13/2022, 12:27 PM
the usermetadata recipe is an independent recipe to the auth recipes, so it accepts any ID
rp_st
09/13/2022, 12:28 PM
to check if a user exists before, you can query the auth recipe that you use (for example thirdpartyemailpassword) to see if the user ID exists
rp_st
09/13/2022, 12:28 PM
it should have a function like
getUserbyId(...)
i
IaS1506
09/13/2022, 12:30 PM
Or get user by cdi, ok, clear
IaS1506
09/13/2022, 12:30 PM
Thanks
IaS1506
09/13/2022, 12:32 PM
I still think it's not very correct to always return "OK" as a status, but okay