Describe the bug?
Locked out user status is not handled in okta-idx-dotnet sdk
While authenticating with a locked out user(in Okta) using okta-idx-dotnet sdk with AuthenticateAsync method, instead of valid response with "Locked out" authentication status recieving following exception :
{"Unexpected remediation step: Expected '['challenge-authenticator or select-authenticator-authenticate']' but received ['select-authenticator-unlock-account'].\r\n Verify that your policies are configured as expected."}
Tenant : https://oie-tecnics-dev.oktapreview.com/
Test user of above tenant :
Username : lockeduser,
Password : Password@123
Note: Attaching a .Net WPF sample project to replicate the issue with above user.
TecnicsSampleProject.zip
What is expected to happen?
Expecting a response with "locked or lockedout" authentication status.
What is the actual behavior?
Getting an exception
Reproduction Steps?
- Make user is locked out in Okta.
- Authenticate user with okta-idx-dotnet sdk method "AuthenticateAsync()" with payload having both username and password.
- Expecting response with "locked/lockedout" status but receiving following exception.
{"Unexpected remediation step: Expected '['challenge-authenticator or select-authenticator-authenticate']' but received ['select-authenticator-unlock-account'].\r\n Verify that your policies are configured as expected."}
Additional Information?
No response
.NET Version
.NET Core 3.1 and above
SDK Version
Okta IDX Sdk 2.2.8 and all versions below
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?
Locked out user status is not handled in okta-idx-dotnet sdk
While authenticating with a locked out user(in Okta) using okta-idx-dotnet sdk with AuthenticateAsync method, instead of valid response with "Locked out" authentication status recieving following exception :
{"Unexpected remediation step: Expected '['challenge-authenticator or select-authenticator-authenticate']' but received ['select-authenticator-unlock-account'].\r\n Verify that your policies are configured as expected."}Tenant : https://oie-tecnics-dev.oktapreview.com/
Test user of above tenant :
Note: Attaching a .Net WPF sample project to replicate the issue with above user.
TecnicsSampleProject.zip
What is expected to happen?
Expecting a response with "locked or lockedout" authentication status.
What is the actual behavior?
Getting an exception
Reproduction Steps?
{"Unexpected remediation step: Expected '['challenge-authenticator or select-authenticator-authenticate']' but received ['select-authenticator-unlock-account'].\r\n Verify that your policies are configured as expected."}
Additional Information?
No response
.NET Version
.NET Core 3.1 and above
SDK Version
Okta IDX Sdk 2.2.8 and all versions below
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