Possible to get role_connections
without user's authenticating via OAuth2?
#2667
-
I am working on some updates to my discord bot that allow for better integration with GitHub. LizardByte/support-bot#368 Currently there are a couple of options.
Option 2 and 3 are not ideal because I need to provide a callback URL, and would like to avoid exposing the bot in this manner (if possible). Is there any way to get the GitHub username when using option 1? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Linked roles is a special feature. To get the built-in data from the connection, in this case github, you have to use oauth. It's personal information. Otherwise every bot could just scrape data and create identifiable profiles about users. Which would go against the terms of service / GDPR. So tl;Dr, you have to use oauth |
Beta Was this translation helpful? Give feedback.
Linked roles is a special feature.
From the bots perspective, it allows u to build ur own linked role for stuff that has not an official connection within discord.
To get the built-in data from the connection, in this case github, you have to use oauth.
It's personal information. Otherwise every bot could just scrape data and create identifiable profiles about users. Which would go against the terms of service / GDPR.
So tl;Dr, you have to use oauth