Back

How can I check whether the current user is logged in to OAuth2-Discord?

  • 0
  • Self Hosted
  • Auth
  • Web
Leon
3 Jul, 2024, 16:46

How can I check whether the current user is logged in to OAuth2-Discord?

Unfortunately, I don't understand the Appwrite documentation very well and am relatively new to it. So far I have the following code ($lib/oauth2.js). How do I also get all the discord information out? (name, avatar, ...)

I would be really grateful if someone could help me! :)

TL;DR
To check if the developer is logged in to OAuth2-Discord using Appwrite, you can integrate Discord OAuth2 with Appwrite. Ensure that the OAuth2 Discord integration is correctly set up. Additionally, modify the existing code in $lib/oauth2.js to include functionality to retrieve Discord information such as name and avatar. If you encounter difficulties, refer to the Appwrite documentation or reach out to the Appwrite community for further assistance.
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