
fairly new to appwrite, I have users logged through social auth, I want to display their name and email, in the profile page after they login.. need help please.

Maybe this can help - https://appwrite.io/docs/references/cloud/server-nodejs/users#get

Also, you can use our AI assistant, really handy! π
For e.g I used it and it showed me the sample code π

Okay, Thank you, I'll try it and revert back in case of any doubts.. π

Were you able to solve it?

Hi, I apologize for the late reply! I was trying to figure it out... The thing is I am, logging in users with social login(google) and I jusrt to get theri username to display...

I am using appwrite web

Assuming the session is working correctly, you can use account.get()
to get info about the user (and validate they are logged in)

Thank you, I got it, It's working.

[SOLVED] get user details
Recommended threads
- Sharing cookies
Hi, Iβm using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
