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:
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)