Skip to content
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 password requirement settings entity to CurrentAuthenticatorEnrollmentValue #426

Closed
karandas210 opened this issue Nov 29, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request OKTA-595552

Comments

@karandas210
Copy link

Hi, can you please extend CurrentAuthenticatorEnrollmentValue(or AuthenticatorEnrollment) class with "settings" entity, which contain pasword requirements details. I see this infomation in response(look bellow) of selectAuthenticator() call, but this data is missed just because of class definition which doesn't contain corresponding entity. Password requirements is useful for dinamic registration form buidling based on fetchSignUpFormValues() and authenticators details. And for example Sign-In-Widget use this data. Thank you in advance.

Response example:

"currentAuthenticator": {
        "type": "object",
        "value": {
            "type": "password",
            "key": "okta_password",
            "id": "aut4okoutugDsoHpI5d7",
            "displayName": "Password",
            "methods": [{
                    "type": "password"
                }
            ],
            "settings": {
                "complexity": {
                    "minLength": 8,
                    "minLowerCase": 1,
                    "minUpperCase": 1,
                    "minNumber": 0,
                    "minSymbol": 0,
                    "excludeUsername": true,
                    "excludeAttributes": []
                },
                "age": {
                    "minAgeMinutes": 0,
                    "historyCount": 4
                }
            }
        }
    },

Class definition:

public class CurrentAuthenticatorEnrollmentValue {
    private Recover recover;
    private String type;
    private String id;
    private String key;
    private String displayName;
    private RemediationOption resend;
    private RemediationOption poll;
    private ContextualData contextualData;
    private Profile profile;
@arvindkrishnakumar-okta
Copy link
Contributor

Thanks for posting! We will get this addressed.

@arvindkrishnakumar-okta arvindkrishnakumar-okta added the enhancement New feature or request label Jan 5, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Please add password requirement settings entity to CurrentAuthenticatorEnrollmentValue Add password requirement settings entity to CurrentAuthenticatorEnrollmentValue Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OKTA-595552
Projects
None yet
Development

No branches or pull requests

2 participants