Slack Oauth Callback
GET
/api/auth/slack/callback
const url = 'https://example.com/api/auth/slack/callback';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/auth/slack/callbackHandle Slack OAuth callback — exchange code for user info, issue JWT.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example