Search code examples
wso2claimswso2-identity-server

Creating replicated claims in WSO2 Identity Server


I am using wso2 Identity Server and creating custom claims in it. In a specific use case i need two claims to replicate the same value.
So while creating user if i have give "1234" to claim http://wso2.org/claims/store1/id1 than claim http://wso2.org/claims/store2/id2 should also have "1234".
Is there any way possible to achieve this.


Solution

  • One way to achieve this, is to overwrite method in user store manager. There you can put your custom logic to save and get claims.