I am trying to access gmail api.I have generated access token,id token,refresh token etc,access token expires after every hour.To generate new access token I have refresh token but it seems client secret is required to get new token.but for android application I could get only client id from gcp credentials page.
can anyone guide me regarding this.
I have tried to generate using https://oauth2.googleapis.com/token .but it gives invalid grant type error.
New contributor
aditya loke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.