Skip to content

Creating access tokens

Hk-tang edited this page Sep 4, 2020 · 3 revisions

The project requires adding your GitHub and StackExchange access tokens.

GitHub Token

  1. Login to the GitHub account you want to generate a token for
  2. Goto https://github.com/settings/tokens
  3. Click on generate new token and allow it public_repo scope

StackOverflow Token

Visuals to help follow the official guide: https://api.stackexchange.com/docs/authentication

  1. Go here https://stackapps.com/apps/oauth/register and register an app (doesn't have to be real)

    Make sure Enable Client Side OAuth Flow is checked

You will get

*The "Key" is the token you need to put in the Config.json*

The redirect uri is default if you have client side oauth flow enabled

  1. Go to this url: https://stackoverflow.com/oauth/dialog?client_id="insert client id"&scope=no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success and approve