iamDiscord LoginAsk a question|Copy page|View as Markdown|More actionsPOST///api/v1/iam/social/discord/Handles Discord OAuth login and returns JWT tokens.RequestThis endpoint expects an object.codestringOptionalThe authorization code from Discordredirect_uristringOptionalThe redirect URI used for the OAuth flowaccess_tokenstringOptionalDirect access token (alternative to code)ResponseLogin successful, returns JWT tokensErrors400Bad Request Error500Internal Server Error