I set up an Auth. Provider for Google Apps as explained in the Salesforce Help, but Salesforce doesn't seem to ask for offline access so I have to go through the "connect" flow every hour, when I want to access the files on my Google Drive.

The Authorize Endpoint URL is https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force, but when I enter the actual OAuth flow, those parameters seem to be dropped. The URL I'm redirected to looks like this:


The access_type and approval_prompt parameters are nowhere to be seen in the continue URL. For my admin login I added it manually when going through the login flow, but I can't really do that for all my users.

Any ideas on how to fix this? Is this a (known) bug? (couldn't find it on their Known Issues site)

  • I'm seeing the same thing happen. Did you ever find a solution? – NSjonas Sep 8 '16 at 18:35
  • Not yet (haven't spent much time on it since then, though). Worst thing is that the OAuth dialog doesn't appear in Salesforce1, so when the token has expired, you have to go back and log in on a desktop :/ – Marcel Samyn Sep 9 '16 at 16:03
  • thats a bummer. Did you open a support case? It definitely sounds like a bug (although I doubt they will do anything to fix it) – NSjonas Sep 9 '16 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.