[IS7 KM Connector][Passing End User Attributes to the Backend] - User attributes of SCIM 2.0 Extension schemas are not read during claim mapping #2693
Labels
4.3.0-alpha
Affected/APIM-4.3.0
BugFixing
Tracks the bugs to be fixed for APIM 4.3.0 release
Component/APIM
Priority/Normal
Type/Bug
Milestone
Description
When using the IS7 KM Connector [1] and performing the Passing End User Attributes to the Backend feature, only the user attributes that belong to the user resource schema (
urn:ietf:params:scim:schemas:core:2.0:User
) are mapped as local claims. User attributes of other extension schemas (eg: enterprise schemaurn:ietf:params:scim:schemas:extension:enterprise:2.0:User
) are not being parsed.In IS7, user attributes are present under the following SCIM 2.0 schemas:
urn:ietf:params:scim:schemas:core:2.0
urn:ietf:params:scim:schemas:core:2.0:User
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
Example
Consider the following SCIM 2.0 dialect payload of a user's info, obtained via SCIM 2.0 Me GET
Claims mapped to local dialect, of the above user:
In the above, the following is not parsed:
Possible Solution
The schema is provided to the JSON decoder at [3], and extension schemas should be honoured at [3] as well.
[1] wso2-extensions/apim-km-wso2is#128
[2] https://apim.docs.wso2.com/en/4.1.0/deploy-and-publish/deploy-on-gateway/api-gateway/passing-enduser-attributes-to-the-backend-via-api-gateway/#passing-end-user-attributes-to-the-backend
[3] https://github.com/wso2-extensions/apim-km-wso2is/pull/128/files#diff-c2ba9f2ae75d4832fa3499e5fd69cab3ab8a49f64e78911f5a1af9ea787633f5R67
Steps to Reproduce
Refer the description of PR wso2-extensions/apim-km-wso2is#128
Affected Component
APIM
Version
4.3.0-alpha
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: