Skip to content
Back

Getting users from client

  • 0
  • Auth
  • Web
Not Remi
24 Dec, 2024, 04:03

Im trying to figure out how to get a user from there UID from the client / web but can't figure it out, the only thing im finding is for server side.

TL;DR
Developers are unable to access different user information from client SDKs for security reasons. You can set up an Appwrite Function to retrieve a User object based on a provided user id. This functionality needs to be handled on the server side due to security concerns.
Darshan Pandya
24 Dec, 2024, 04:42

You cannot get a different user's info from client sdks, thats not normal and isn't secure. You could technically host an Appwrite Function that returns a User object if it exists based on a sent user id.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more