Discord Server Integration

Integrating Turf Connect on the Discord Server

  1. Create an Application on Turf's Developer Platform: This process usually involves registering your application to obtain credentials like a Client ID and Client Secret.

  2. Implement OAuth2 Flow: Use Discord's OAuth2 URLs to redirect users for authentication with Turf and handle the callback to receive an authorization code.

  3. Exchange Code for Access Token: Use the authorization code to request an access token from Turf's OAuth server.

  4. Use the Token: With the access token, you can make API calls to Turf's services on behalf of the authenticated user.

Last updated

#46: turf-connect

Change request updated