Describe the bug?
In OKTA Authentication Policy Rule, "User must authenticate with" is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types. For OKTA Authn API(Primary Authn) when only username is passed, in response we get all the authenticator factors list. But using Okta Idx dotnet sdk AuthenticatorAsync() method we are getting only password factor in authenticators list which is not expected.
OKTA Browser -
Endpoint - https://oie-tecnics-dev.oktapreview.com/idp/idx/identify
Payload - {"identifier":"username", "stateHandle":"statehandle-value"}
Response - https://jsonblob.com/1022053725833019392
SDK - AuthenticatorAsync() method
Payload - {"username" : "username"}
Response - https://jsonblob.com/1022050865690984448
What is expected to happen?
In authentication policies rule if "User must authenticate with" value is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types and when user gives only username in the payload we should get all the authenticators factors list as per the authentication policy rule set for the user.
What is the actual behavior?
In authentication policies rule if "User must authenticate with" value is set to is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types and when user gives only username in the payload for sdk AuthenticatorAync() method is returning only password factor in authenticators list.
Reproduction Steps?
- In authentication policies rule if "User must authenticate with" value is set to is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types
- Using sdk AuthenticatorAsync() method pass only the username in payload.
Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.1 (latest dotnet sdk)
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?
In OKTA Authentication Policy Rule, "User must authenticate with" is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types. For OKTA Authn API(Primary Authn) when only username is passed, in response we get all the authenticator factors list. But using Okta Idx dotnet sdk AuthenticatorAsync() method we are getting only password factor in authenticators list which is not expected.
OKTA Browser -
Endpoint - https://oie-tecnics-dev.oktapreview.com/idp/idx/identify
Payload - {"identifier":"username", "stateHandle":"statehandle-value"}
Response - https://jsonblob.com/1022053725833019392
SDK - AuthenticatorAsync() method
Payload - {"username" : "username"}
Response - https://jsonblob.com/1022050865690984448
What is expected to happen?
In authentication policies rule if "User must authenticate with" value is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types and when user gives only username in the payload we should get all the authenticators factors list as per the authentication policy rule set for the user.
What is the actual behavior?
In authentication policies rule if "User must authenticate with" value is set to is set to Possession Factor (or) Any 1 factor type (or) Any 2 factor types and when user gives only username in the payload for sdk AuthenticatorAync() method is returning only password factor in authenticators list.
Reproduction Steps?
Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.1 (latest dotnet sdk)
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