Skip to main content
Announcements
Qlik Connect 2025! Join us in Orlando join us for 3 days of immersive learning: REGISTER TODAY

"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

"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

@Daniele_Purrone ,

 

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

Daniele_Purrone
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

I saw now that you posted there already.

paolo_cordini
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

Yes this setting change is resolved my issue.