Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry

"Error 400: Invalid Scope invalid=[offline_access]" when using Qlik Sense Mobile SaaS with Google as the Identity Provider (IdP)

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniele_Purrone
Support
Support

"Error 400: Invalid Scope invalid=[offline_access]" when using Qlik Sense Mobile SaaS with Google as the Identity Provider (IdP)

Last Update:

Feb 23, 2024 9:27:50 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 18, 2021 7:43:08 AM

Using Google as the IdP with the Qlik Sense Mobile (SaaS) app on either iOS or Android fails.

The following error is shown in the app:

Authorisation Error
Error 400: invalid_scope
Some requested scopes were invalid. {valid=[openid,
https://www.googleapis.com/auth/userinfo.profile,
https://www.googleapis.com/auth/userinfo.email],
invalid=[offline_access]}

invalid_scope.png

 

 

 

Resolution

Set the Block_offline_access scope in your Google IdP Advanced settings in the Qlik Cloud console. 

 

Environment

Qlik Sense Mobile SaaS with Qlik Cloud 

 

Labels (1)
Comments
sanrout
Contributor III
Contributor III

@Daniele_Purrone ,

 

Is this issue resolved ? Currently we are still facing the issue as Identity Provider is Google

Daniele_Purrone
Support
Support

Hi @sanrout ,

Google Identity is now supported: https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-create-idp-conf... 
Since you are having the issue, is the offline_access scope set on the Google side (if you don't know how to do that, you will need to check with them)?
If you are still having problems, please make a dedicated post on the Mobile forum with all the possible details.

Daniele_Purrone
Support
Support

I saw now that you posted there already.

paolo_cordini
Partner - Creator
Partner - Creator

Hello

Just discovered that, in case of Google IdP, you need to set the "Block offline_access" flag in the advanced options of IdP in QMC, in order to avoid the error.

Regards
Paolo

sanrout
Contributor III
Contributor III

Yes this setting change is resolved my issue.

Version history
Last update:
‎2024-02-23 09:27 AM
Updated by: