Limitations of Discord Auth Integration
Hey :)
I am working on a bot dashboard currently and was trying out kinde as a possible auth provider.
Setup was incredible easy, but I soon realised, that Kinde has big limitations when it comes to the discord auth provider.
I was wondering if its possible to
1. Customize the Permissions that kinde requests of the user
2. save the generated data (like discord user id, guilds etc) to the kinde data available.
If this is not a possibility, Id strongly advocate to add this as a feature.
7 Replies
Hi,
Could you expand more on what you're referring to with point 1?
On point 2 we have a feature coming which is currently in development nearing release, which allows custom fields to be added to users. This sounds like will solve this for you? You can subscribe to update here: https://updates.kinde.com/board/custom-user-fields
Custom fields (properties)
Custom fields (properties)
hey, thanks for the quick response.
https://discord.com/developers/docs/topics/oauth2 is what I am talking about. Currently the discord integration per default requests email + user data, but there are more "scopes" that you can request from the user to get different data
https://discord.com/oauth2/authorize?client_id=xyz&redirect_uri=https%3A%2F%2Fapp.kinde.com%2Flogin%2Fcallback&response_type=code&scope=email+identify
thats the current url. the scope
param is what I am talking aboutand yes, adding custom fields would exactly be what I am looking for. i subscribed
but it should be able to be added/changed programmatically, in the callback for example
I will see if we have any documentation available for the custom fields feature which is coming.
I will discuss with the team regarding the discord scopes, which scopes are you specifically interested in?
a generic way to add any of the scopes would be the most user friendly imo
most important for the most part are
guilds
, guild.members.read
, identify
, email
, messages.read
and applications.commands.permissions.update
would be cool to have both functionality’s tho