تخطَّ إلى المحتوى

Add a OAuth2 Application

هذا المحتوى غير متوفر بلغتك بعد.


  1. Navigate to the discord developers portal and select the application you want to verify users with.

  2. Navigate to the OAuth2 Section and copy your Client ID and reset then copy your Client Secret

  3. Navigate to ReqBin and paste this into the big field in the middle (highlighted in the screenshot):

    Terminal window
    curl --location 'https://api.cookie-api.com/api/discord/oauth2/add' \
    --header 'Authorization: API_Key' \
    --header 'Content-Type: application/json' \
    --data '{"client_secret": "CLIENT_SECRET", "client_id": "CLIENT_ID"}'

  4. Replace the values with your actual values

  5. Now click on ‘Send’. If you did everything right it should look like this:

  6. Now you copy the redirect_url and navigate to the OAuth2 section. There add the redirect_url as a Redirect:

  7. Now you can start verifying users. To verify them you can either use the example_authorization_url from the API Request you just did or generate one with custom scopes (permissions) in the OAuth2 URL Generator.