Allow the OAuth API be be able to read a Guild member's roles.

Kommentare

8 Kommentare

  • xtremerui

    Hi, would like to know if this would be considered by discord team? Here at Concourse https://concourse-ci.org team we are trying to develop a Discord connector on Dex https://github.com/dexidp/dex

    We are also trying to authenticate Concourse users based on their roles of a guild through Dex. Please extend the guilds scope or add a new scope for getting user roles info within a guild.

    Like it mentioned above, it just need the read permission of user guild roles. Thx!

    2
  • Tionis

    Yeah, I encountered the same problem...

    0
  • DunkBot

    Hi there, I also would be super keen for read only access of a guild members roles via OAuth. Any update on whether this could be considered?

    1
  • tacosfeedthebear

    It would be great if `/users/@me/guilds` at least returned the roles for the guilds that user is a member of.

    3
  • TheUnnaturalAgent

    yeah tacosfeedthebear's suggestion would work as well. I'm trying to do something along the lines as OP's post but at the very least being able to view said users roles in the guild would be extremely helpful.

    0
  • BDDam

    Hi, I just started a side-project related to our crew server for which I thought I'd put OAuth API to good use, but not being able to read roles of someone is quite a bummer. I saw https://discord.com/developers/docs/resources/guild#add-guild-member which manipulates roles but that's not the usecase here so I'm afraid it's more a policy to not deal that much with it.

    OP's request is two years old, but I still hope to see it happen. Looks like I'll need to handle a bot from the webapp :(

    0
  • LeigerGaming

    I would really like to be able to access the current user's roles as well.

    At the moment I'm able to get a list of the guilds they are a member of. For one of those guilds, I just need to check if they have a role with a certain ID or name, read-only access.

    Similar reason to everyone else - I want to use Discord as the source of truth. If they have a role, I want to then grant them access to do other things outside Discord based on that knowledge.

    0
  • Alex

    Would also appreciate the support for this. Trying to make a web app that has role's based on a user's roles in a discord server.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.