https://supabase.com/ logo
Minor Question, I am authenticating through Discor...
# javascript
m
Minor Question, I am authenticating through Discord with Supabase but I don't know how to get the user's discord guilds and other information through that, how would I go about getting that information?
o
Hi You're getting a token from the auth, with default datas. To get guilds, you need to make a fetch with this token you received. See here: https://github.com/nextauthjs/next-auth/discussions/666#discussioncomment-154333 @MelodicAlbuild
m
Ah that makes way more sense, thanks
Hey Olyno, do you know where I can import the "Account" type from? I can't find it, and it is needed for that system
o
The ``Account`` type? What is that?
m
In that thread they talk about using
Account.findOne
and the Account is the type, idk where it came from
o
This is not for you 😂
m
obviously my brain isn't getting something lol
o
The only part for you is the message i sent you above xD
m
Lmao
My bad
Now I see it and feel stupid, thanks so much