Reputation: 13
I don't know how to request an refresh token with Javascript for Google APIs.
I've tried these: https://developers.google.com/accounts/docs/OAuth2WebServer#offline
But I don't know how to get the response.
Upvotes: 1
Views: 1654
Reputation: 22316
You can't request a refresh token from Javascript (at least not in a browser). The URL you posted is describing the web server flow, which is the only place you can get a refresh token.
Upvotes: 3