This component allows to retrieve oidc claims from a custom attribute store when building the id_token for an authorized user.
Clone this repository first (https://github.com/mefarazath/OIDCCustomClaimHandler.git
)
Use maven install to build
mvn clean install
.
- Copy org.wso2.custom.oidc.claim.handler-1.0.0.jar file to wso2is-5.3.0/repository/components/dropins folder
- Update the tag in wso2is-5.3.0/repository/conf/identity/identity.xml as follows,
<IDTokenCustomClaimsCallBackHandler>org.wso2.custom.oidc.claim.handler.CustomOIDCClaimHandler</IDTokenCustomClaimsCallBackHandler>