The GitHub GraphQL server requires a bearer token for us to interact with it. So, let's go and generate a personal access token:
- Let's sign in to our GitHub account and go to our Settings page by opening the menu under our avatar and choosing Settings.
- In the left-hand menu, we then need to choose the Developer settings option. This will take us to the Developer settings page.
- We can then choose the Personal access tokens option in the left-hand menu.
- We will then see a Generate new token button that we can click to generate our bearer token. We will likely be prompted to input our password after clicking the button.
- Before the token is generated, we are asked to specify the scopes. Let's enter a token ...