I am trying to translate the actions inside https://developers.google.com/identity/protocols/oauth2/
to grab the refresh token and or the access token.
I have crafted my API and it works firing off a request with a pre worked out authorisation bearer. but obviously this only lasts 60 minutes before you need to get a new access token.
I spent a few days researching and trying to do this myself but kept coming up short.
I noticed there was a similar post
which looks to be using OAuthv1 methods and an article
But still with all of this information I was unable to understand how to create the tokens.
Anyone able to assist me in this please?
Thanks in advance