wso2 / docs-open-banking

Apache License 2.0
39 stars 25 forks source link

[OB3][Consent Manager] Update the service provider of the consentmgr application to get the username for the subject claim. #795

Closed Chathuratharushka closed 1 year ago

Chathuratharushka commented 1 year ago

Affected OB version:

OB3

Affected OB specifications:

Accelerator, UK, CDS, Berlin

Existing pages to be updated:

https://ob.docs.wso2.com/en/latest/learn/consent-manager/#configuring-consent-manager https://uk.ob.docs.wso2.com/en/latest/learn/consent-manager/#configuring-consent-manager https://berlin.ob.docs.wso2.com/en/latest/learn/consent-manager/#configuring-consent-manager https://uk.ob.docs.wso2.com/en/latest/try-out/consent-manager/ https://cds.ob.docs.wso2.com/en/latest/try-out/consent-manager/ https://berlin.ob.docs.wso2.com/en/latest/try-out/consent-manager/

Description (Optional):

In IS 6.0.0, default fallback attribute for the subject claim has been changed to user id. Due to that change consent manager will be showing the user id instead of the username.

2b70d3a6-e507-4b60-9526-202d4dd9069d

Therefore we have to change the default attribute(user id) for the subject claim into username. anged to user id. Due to that change consent manager will be showing the user id instead of the username.

Instructions:

After creating consentmgr application in Subscribing to Self-Care Portal API section. We should add these steps below.

i) Log in to the Management Console athttps://<IS_HOST>:9446/carbon/. ii) Go to Main > Identity > Service Providers. iii) Click List, select the service provider of consentmgr application, and click on the corresponding Edit link. iv) Expand the Claim Configuration section. v) Select http://wso2.org/claims/username from the Subject Claim URI list. vi) Click Update to save the configurations.

References: