Siraj Ur Rahman
02/27/2025, 11:55 AM{
"data": {
"attributes": {
"content": {
"enabled": true,
"userGroupsScopeEnabled": true,
"userGroupsScopeName": "urn.gooddata.scope/user_groups",
"userGroupsClaimName": "urn.gooddata.user_groups",
"userGroupsDefaults": []
},
"type": "JIT_PROVISIONING"
},
"id": "jitProvisioning",
"type": "organizationSetting"
}
}
The organization settings have been successfully updated.
I have also assigned workspaces to user groups.
Issue:
I am now sending the urn.gooddata.user_groups
claim with the user groups assigned to the users. I have verified that:
1. The JWT token contains the groups under urn.gooddata.user_groups
.
2. I also added the groups under urn.gooddata.scope/user_groups
.
However, when integrating the iframe in our web app, I am still getting a 401 Unauthorized error.
Questions:
1. Is there any additional configuration required in GoodData settings to ensure user group-based provisioning works correctly?
2. Could there be any issue with the JWT structure, such as missing other scopes or claims that GoodData expects?Mauricio Cabezas
02/27/2025, 2:42 PMSiraj Ur Rahman
02/28/2025, 7:39 AMMauricio Cabezas
02/28/2025, 4:13 PMMauricio Cabezas
03/03/2025, 2:34 PMMauricio Cabezas
03/03/2025, 4:40 PMSiraj Ur Rahman
03/03/2025, 4:42 PMMauricio Cabezas
03/03/2025, 4:44 PMMauricio Cabezas
03/03/2025, 4:54 PMjitEnabled
flag is separate from the jit provisioning settings. The settings you configured are set to enabled
and will stay enabled
after you sets jitEnabled
to false
.
The platform will then ignore the jitEnabled
value and evaluate the settings you configured, evaluating that jit is enabled, as well as user groups scope.Siraj Ur Rahman
03/04/2025, 5:56 AM{
"data": {
"attributes": {
"content": {
"enabled": true,
"userGroupsScopeEnabled": true,
"userGroupsScopeName": "urn.gooddata.scope/user_groups",
"userGroupsClaimName": "urn.gooddata.user_groups",
"userGroupsDefaults": [
"defaultUserGroup"
]
},
"type": "JIT_PROVISIONING"
},
"id": "jitProvisioning",
"type": "organizationSetting"
}
}
But it still shows the same error.Siraj Ur Rahman
03/04/2025, 7:48 AMChristopher Bonilla
03/04/2025, 8:14 AMChristopher Bonilla
03/04/2025, 8:15 AMSiraj Ur Rahman
03/04/2025, 8:18 AMSiraj Ur Rahman
03/04/2025, 8:19 AMChristopher Bonilla
03/04/2025, 8:21 AMAn error occurred while attempting to retrieve the UserInfo Resource from '<https://login.n3o.cloud/userinfo>': response contains invalid content type 'text/html'. The UserInfo Response should return a JSON object (content type 'application/json') that contains a collection of name and value pairs of the claims about the authenticated End-User. Please ensure the UserInfo Uri in UserInfoEndpoint for Client Registration conforms to the UserInfo Endpoint, as defined in OpenID Connect 1.0: '<https://openid.net/specs/openid-connect-core-1_0.html#UserInfo>'
Christopher Bonilla
03/04/2025, 8:23 AMChristopher Bonilla
03/04/2025, 8:25 AMSiraj Ur Rahman
03/04/2025, 8:38 AMChristopher Bonilla
03/04/2025, 8:39 AMChristopher Bonilla
03/04/2025, 8:44 AMAn error occurred reading the UserInfo response: [invalid_user_info_response] Too Many Requests
and found this: https://community.auth0.com/t/too-many-requests-when-calling-userinfo/26685
Is it possible you are not including the claim in the token?Siraj Ur Rahman
03/04/2025, 8:55 AMSiraj Ur Rahman
03/04/2025, 8:57 AMSiraj Ur Rahman
03/04/2025, 8:58 AMChristopher Bonilla
03/04/2025, 9:05 AMSiraj Ur Rahman
03/04/2025, 9:06 AMChristopher Bonilla
03/04/2025, 9:08 AMSiraj Ur Rahman
03/04/2025, 9:11 AMChristopher Bonilla
03/04/2025, 10:28 AMuserId
of that user as the sub
claim.Mauricio Cabezas
03/04/2025, 1:37 PMSiraj Ur Rahman
03/05/2025, 11:20 AMSiraj Ur Rahman
03/05/2025, 12:56 PMMauricio Cabezas
03/05/2025, 12:56 PMMauricio Cabezas
03/05/2025, 12:59 PMMauricio Cabezas
03/05/2025, 4:38 PMSiraj Ur Rahman
03/06/2025, 7:17 AM