discordOauthCallback
Handles the OAuth2 callback after the user authorizes Discord access. This mutation completes the authorization flow by exchanging the code for tokens and updating the user's Discord connection metadata. It also updates the user's Discord connection metadata for Linked Roles.
discordOauthCallback(
code: String!
state: String!
): DiscordOAuthCallback
Arguments
discordOauthCallback.code ● String! non-null scalar
discordOauthCallback.state ● String! non-null scalar
Type
DiscordOAuthCallback object
Handles the OAuth2 callback after the user authorizes Discord access. This mutation completes the authorization flow by exchanging the code for tokens and updating the user's Discord connection metadata. It also updates the user's Discord connection metadata for Linked Roles.