Skip to content

authenticationMethods missing from okta/models/possession_constraints but visible in raw api  #420

@ghals13

Description

@ghals13

Hello,

authenticationMethods field is missing in okta/models/possession_constraints?
https://github.com/okta/okta-sdk-python/blob/master/okta/models/possession_constraint.py
but visible in raw api
https://tenant-admin.okta.com/api/v1/policies/<ruleid>/rules

eg (you can test via gui by clicking

Authentication methods->Allow specific authentication methods

Could you please add it in ?

e.g

   "actions": {
            "appSignOn": {
                "access": "ALLOW",
                "verificationMethod": {
                    "factorMode": "2FA",
                    "type": "ASSURANCE",
                    "reauthenticateIn": "PT0S",
                    "constraints": [
                        {
                            "knowledge": {
                                "required": true,
                                "types": [
                                    "password"
                                ],
                                "reauthenticateIn": "PT0S"
                            },
                            "possession": {
                                "required": true,
                                "authenticationMethods": [
                                    {
                                        "key": "okta_verify",
                                        "method": "signed_nonce"
                                    }
                                ],
                                "hardwareProtection": "REQUIRED",
                                "phishingResistant": "REQUIRED",
                                "userPresence": "REQUIRED",
                                "userVerification": "REQUIRED"
                            }
                        }
                    ]
                }
            }
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions