-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support function to filter authenticators #148
Add support function to filter authenticators #148
Conversation
components/org.wso2.carbon.identity.conditional.auth.functions.utils/pom.xml
Outdated
Show resolved
Hide resolved
} else { | ||
idpMap.put(FrameworkConstants.JSAttributes.IDP, idp); | ||
} | ||
result.put(String.valueOf(index++), idpMap); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we pass the integer value as it is here? Why do we need to make this value string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As in https://github.com/wso2/carbon-identity-framework/blob/1ceee196051722474017ab432cee84d4a949b7a3/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/config/model/graph/JsNashornGraphBuilder.java#L371C27-L371C61, the expected return format is Map<String, Map<String, String>>
Purpose
Fix related to https://github.com/wso2-enterprise/asgardeo-product/issues/20580
Related PRs :