Here i posted a comment in a problem-thread.
The solution is to add
to the Authenticaterequest.
You get no RefreshToken with new projects. They use access_type=online by default.
Maybe time for a Classupdate?
[SOLVED] Google Oauth2 And Refresh Token
When I ask for the token following Erel's example (here) it works correctly and tells me that the token will last 60 minutes. When I refresh nothing changes, it gives me a response that doesn't change the duration and it doesn't give me a refresh token. Following the instructions of several...
www.b4x.com
The solution is to add
B4X:
"access_type":"offline"
You get no RefreshToken with new projects. They use access_type=online by default.
Maybe time for a Classupdate?