Skip to main content

Qlik Sense Enterprise on Windows: Groups not retrieved from Okta when using OIDC authentication

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

Qlik Sense Enterprise on Windows: Groups not retrieved from Okta when using OIDC authentication

Last Update:

Jan 16, 2023 2:41:46 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 15, 2021 5:07:20 PM

Groups are not retrieved from Okta when using OIDC authentication in Qlik Sense Enterprise on Windows (client-managed), but they are retrieved in Qlik Cloud.

 

Environment:

Qlik Sense Enterprise on Windows 

 

Resolution

Qlik Sense for Windows reads the groups from the id_token, while Qlik Sense Cloud reads the groups from the userinfo endpoint.

By default, Okta does not include the groups in the id_token. Please follow the below steps for groups to be included in the id_token so that Qlik Sense for Windows can retrieve them.

 Steps:

  1. In the Okta Admin Console, go to Security > API.
  2. On the Authorization Servers tab, select Add Authorization Server and enter the Name, Audience, and Description for the Authorization Server.
  3. After creating the authorization server, go to “Claims” tab.
  4. Click “Add Claim”.
  5. Enter “Name” of the claim as “groups”.
  6. For “Include in token type” dropdown, select “ID Token” and “Always”.
  7. Set “Value type” to “Groups”.
  8. Set “Filter” to Matches regex .*
  9. Click “Create” button.
  10. Now, go to “Scopes” tab.
  11. Click “Add Scope”.
  12. Enter “Name” of the scope as “groups”.
  13. Enable “Include in public metadata”.
  14. Click “Create” button.
  15. Finally, go to “Access Policies” tab.
  16. Click on “Add New Access Policy” button. Enter ‘Name’ and ‘Description’ for the new policy and keep ‘Assign to’ set to ‘All clients’ option. Click “Create Policy” button.
  17. After the new policy is created, add a new rule for the policy by clicking the button “Add Rule”. Enter ‘Rule Name’. Keep the default values as they are for all fields. And click “Create Rule” button.
  18. Go to "Settings" tab and copy the metadata URI.
  19. Enter this URI in virtual proxy settings.

Note: The metadata URI displayed in the Settings tab of the authorization server is for the access token. You can use the URI for the id_token to make this work. You will find more info on the below image and the following link: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/request-token-claim/

 

Damien_Villaret_1-1637013885919.png

Labels (1)
Comments
Gysbert_Wassenaar

Is this still the case? Qlik Sense on Windows does NOT support the oidc userinfo endpoint?

Damien_Villaret
Support
Support

Hello @Gysbert_Wassenaar 

Yes, this is correct, Qlik Sense on Windows only reads the groups from the ID token, never from the userinfo endpoint.

Gysbert_Wassenaar

Thanks for the answer @Damien_Villaret. Do you know if this will be supported in the near future?

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Gysbert_Wassenaar 

This is not currently on the roadmap. If you would like to raise your interest in this feature, please head over to our Ideas section!

All the best,
Sonja 

mehmet_gencsoy
Luminary Alumni
Luminary Alumni

@Damien_Villaret @Sonja_Bauernfeind 

Is this still the case? Qlik Sense on Windows does NOT support the oidc userinfo endpoint? Or did we get any updates??

We are using Ping Federate and there is now way to add userinfo endpoint information to ID token.

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @mehmet_gencsoy 

We only support ID tokens on Qlik Sense Enterprise on Windows and do not currently have support for the oidc userinfo endpoint on our roadmap. I checked our active ideas and couldn't find one there either.

What I would recommend is to log an idea (right here), as this is our most reliable way to voice ideas and feedback suggestions. Our product teams review them regularly. 

Feel free to tag me so I can give it a vote (and tie it back to this article).

All the best,
Sonja 

Version history
Last update:
‎2023-01-16 02:41 AM
Updated by: