okta-sdk-python
okta-sdk-python copied to clipboard
authenticationMethods missing from okta/models/possession_constraints but visible in raw api
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"
}
}
]
}
}
},