Whilst the Discord integration is excellent for basic authentication with Discord, I was aiming to retrieve the Discord role information against a user in a guild. Whilst it’s straightforward to add a custom integration and add to the fetch user profile script (thanks for that!), due to the way Discord manages access to role information against a guild, you need to use a bot token to access this information. Would there be any security concerns adding a bot token into the custom fetch user profile script to gain access to the roles and attach it to the profile?
Thanks for replying! No worries re: Discord APIs etc, what you’ve mentioned is exactly my concern. In order to gather the info needed, it appears I would have to include a secret (that’s different from the usual client id + secret) directly in the fetch user profile script (unless theres another way to set environmental variables). Is there any concerns with this approach or should I try a different solution?