Рет қаралды 9,483
Quick links:
Google authorisation server URI - accounts.google.com/o/oauth2/...
Google refresh token URI - oauth2.googleapis.com/token
Let's create a google developer project at console.developers.google.com/. Enable the Gmail APIs and add scopes to read, write, and delete the users Inbox. Then, create OAuth client credentials to access the API.
Get the access token using the Insomnia UI. Using environments in Insomnia save the access token in the Insomnia and use it to call Gmail APIs in Insomnia rest client.