User consent for OAuth2 Guilds.join actions #5654
Replies: 14 comments 1 reply
-
I like this idea. But imo the "I did not ask to join this server" shouldn't be the same size as the others, as it may result in misclicks. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I would like to see something like this implemented. I've seen some confusion in a few communities where people are automatically added by a bot that has this permission. I would love to have some way to view what a bot has done on my behalf - even if it was as simple as receiving some sort of DM or personal audit log to see what applications have done what actions. Over the years you sometimes just forget you've given a bot permission to add you to servers. |
Beta Was this translation helpful? Give feedback.
-
love this idea! |
Beta Was this translation helpful? Give feedback.
-
This is a fantastic proposal, and it'd effectively end wide abuse of this feature, IMO. |
Beta Was this translation helpful? Give feedback.
-
Someone brought this discussion to my attention today. I honestly would be all for this. I do not understand the purpose of the |
Beta Was this translation helpful? Give feedback.
-
This permission shouldn't be existing in the first place! *Sigh* discord.... |
Beta Was this translation helpful? Give feedback.
-
In the past i have made a server that you were unable to leave from as a proof of concept. Using the |
Beta Was this translation helpful? Give feedback.
-
Why isnt this a feature already |
Beta Was this translation helpful? Give feedback.
-
I'd say it should also restrict the app from adding the user to another guild until they approve that they wanted to get added. |
Beta Was this translation helpful? Give feedback.
-
Big brain suggestion |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
this is a good idea |
Beta Was this translation helpful? Give feedback.
-
The fact that this isn't already implemented into the client is very much embarrassing considering it is standard practice in the industry to make sure OAuth2 applications don't ever interfere with the user experience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, users are not made aware if an application they have given OAuth2 consent to has joined them to a guild. They simply join the guild silently and the guild is added to their list. Additionally, they immediately count as a member of the guild.
This has led to malicious OAuth2 applications using the
guilds.join
scope to join users to guilds without their consent or request. It has been stated by Discord previously that theguilds.join
scope should only be used alongside consent or request from a user (For example, a user asking to join a server via a 3rd party server listing site being added viaguilds.join
).To combat this issue, Discord should seek consent from a user when they are joined into a guild via an OAuth2 application. My suggestion is that:
The option to report an OAuth2 application will allow Discord to recognize and reactively investigate applications that are potentially misusing the
guilds.join
scope, and could allow them to prevent the application from using the scope to join users to a guild, or revoke all of their active OAuth2 tokens with the scope active. Users that are joined via OAuth2 not counting towards the member count of a guild until they confirm consent in-app will also prevent inactive accounts joined in this method from counting towards a server's member count and significantly harm the market for paid 'authnets' (Botnets with many inactive accounts authed with theguilds.join
scope rented out or sold to other users wishing to inflate their server's member count). This will actively combat the creaton of misleading servers that use member count to obtain some legitimacy. Presenting a user joined to a guild via OAuth2 with a clear, easily readable way to state they do not wish to join & allowing them to easily de-authorize the relevant application will also help prevent this abuse. Many users do not understand how Authorized Apps work, allowing them to de-authorize easily in an in-app modal will mitigate this issue.For the mobile clients, this same flow can be surfaced and notifications may be pushed to the notification centre/for you tab under notifications, to better make users aware of the action taken on their behalf.
Mockup screenshots attached.
Beta Was this translation helpful? Give feedback.
All reactions