save tenant supported claims during self registration
List<Claim> claimsList;
UsernameRecoveryApi usernameRecoveryApi = new UsernameRecoveryApi();
try {
- claimsList = usernameRecoveryApi.claimsGet(null);
+ claimsList = usernameRecoveryApi.claimsGet(tenantDomain);
if (claimsList != null) {
claims = claimsList.toArray(new Claim[claimsList.size()]);
}
