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
- server error 500
Hey everyone, I am facing an issue in one of my applications where trying to create the mfachallenge fails with the below error: { "message": "Server Error",...
- Failed to create new project after creat...
Hey warap ya'll. Hope everyone is doing great. I can seem to create a new project from a new account. I have tried on 2 different accounts and its the same thin...
- Deployments successful but URL says page...
I am trying to deploy a new version to sites but my deployment is not working. I have run the build locally and tested as well. Need immediate help since it is...