Hey,
i’m a new user of auth0 and i’ve been exploring the api for a couple of days trying to do the following but with no result:
check if a user exists with the given email and password
if it exists i want to get all of his details including user_metadata, app_metadata, and roles
i hope you can help me with this one or at least guide to which api i shoul use
and thanks in advance
check if a user exists with the given email and password - GET user by user id
GET users by email
if it exists i want to get all of his details including user_metadata, app_metadata, and roles -
user_metadata - You can also use the GET /userinfo endpoint to get a user’s user_metadata , however you must first write a Rule to copy user_metadata properties to the ID Token.
app_metadata - Use the following Management API endpoints to view, create, update, and delete the user_metadata and app_metadata fields.
thanks but as for 1 is there a way to use BOTH password and email to check if a user exists from a backend application ?
i’m reading the documentation now but it’s a bit unclear when it comes to this.
thanks again
No, there is no way to check if a user exists by their password (for security and privacy reasons). Can you please elaborate on what your use case for this is? We may be able to provide a work around depending on your needs.