Hi, I was trying to add a discord login button, it...
# support-questions-legacy
z
Hi, I was trying to add a discord login button, it's apparently already added in the backend part, but I couldn't find anything in the frontend part, any tips?
r
Hey!
Checkout adding custom OAuth provider in the docs. The first section is about adding the button to the frontend
Set the id to “discord”
z
ok, just another question, how can i retrieve the user profile?
https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/get-user-info i read this documentation, but doesn't retrieve all the informations from the third party login
r
You will need to get the access token and query the provider
z
make senses
r
There should be a page called getting provider’s access token. Read that
z
yeap
ty so much!