- Go to Google APIs to create a OAuth Client
- Go to "Credentials" and create a new OAuth Client ID. (Create credentials > OAuth Client ID)
- Select "Web application" and give it a name.
- Add = $redirectUrl ?> to "Authorised redirect URIs" and create the client.
- Copy the "Client ID" and "Client Secret" to the form above and save it.
- Last step is to Request the access token with the button below.