offline_access needs the refresh_token grant
Code: offlineaccessnotallowed
On this page
Code: offline_access_not_allowed
- HTTP status: 400 Bad Request
- OAuth
error:invalid_scope - Shown to the end user: This app asked for access it is not allowed to request.
Request-specific detail for this error is safe to show to the person signing in.
Cause
The scope offline_access was requested, but the client is not allowed the refresh_token grant.
Fix
Allow the refresh_token grant for the client, or drop offline_access.