Describe the bug?
User is enrolled for only password factor and there are few other required factors as per authenticator enrollment policy which user is not enrolled.
Now when user goes to password expired status and tries to change password using ChangePasswordAsync() method with payload
{
NewPassword = {{newPassword}}
}
Password is being updated but in return we are getting following exception instead of proper response with "AwaitingAuthenticatorEnrollment" status since user is yet to enroll few required factors
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
In same above case
OKTA OIE Browser End Point : https://oie-tecnics-dev.oktapreview.com/idp/idx/challenge/answer
OKTA OIE Browser Response : https://jsonblob.com/1039515194677805056
What is expected to happen?
Expecting response object with "AwaitingAuthenticatorEnrollment" status after password is changed/updated.
What is the actual behavior?
Getting exception instead of response object with AwaitingAuthenticatorEnrollment status
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Reproduction Steps?
- Make sure user is enrolled only for password factor and yet to enroll for few other required factors as per authenticator enrollment policy and users password is expired as per password policy.
- Authenticate with AuthenticationAsync() method with username and password.
- Then we get "PasswordExpired" status in AuthenticationAsync() response.
- Now user tries to change/update password using ChangePasswordAsync() method.
- Password will be updated.
- In response we except "AwaitingAuthenticatorEnrollment" status and required factors info that user is yet to enroll, but instead of that response we are getting following exception.
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Additional Information?
No response
.NET Version
.NET core 3.1
SDK Version
Okta IDX Sdk 2.2.1, Okta IDX Sdk 2.2.2, Okta IDX Sdk 2.2.3
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000
Windows 10 :
BuildNumber Caption OSArchitecture Version
19044 Microsoft Windows 10 Pro 64-bit 10.0.19044
Describe the bug?
User is enrolled for only password factor and there are few other required factors as per authenticator enrollment policy which user is not enrolled.
Now when user goes to password expired status and tries to change password using ChangePasswordAsync() method with payload
{
NewPassword = {{newPassword}}
}
Password is being updated but in return we are getting following exception instead of proper response with "AwaitingAuthenticatorEnrollment" status since user is yet to enroll few required factors
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
In same above case
OKTA OIE Browser End Point : https://oie-tecnics-dev.oktapreview.com/idp/idx/challenge/answer
OKTA OIE Browser Response : https://jsonblob.com/1039515194677805056
What is expected to happen?
Expecting response object with "AwaitingAuthenticatorEnrollment" status after password is changed/updated.
What is the actual behavior?
Getting exception instead of response object with AwaitingAuthenticatorEnrollment status
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Reproduction Steps?
Exception : {"Unexpected remediation step: Expected '['successWithInteractionCode or select-authenticator-authenticate']' but received ['select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Additional Information?
No response
.NET Version
.NET core 3.1
SDK Version
Okta IDX Sdk 2.2.1, Okta IDX Sdk 2.2.2, Okta IDX Sdk 2.2.3
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000
Windows 10 :
BuildNumber Caption OSArchitecture Version
19044 Microsoft Windows 10 Pro 64-bit 10.0.19044