Iam using following :
What code should i need to use in below MFA condition, please send examples ?
using Okta.Auth.Sdk;
using Okta.Sdk.Abstractions.Configuration;
var authClient = new AuthenticationClient(new OktaClientConfiguration
{
OktaDomain = “Domain Name”
});
var authenticateOptions = new AuthenticateOptions
{
Username = username,
Password = password
};
var authResponse = await authClient.AuthenticateAsync(authenticateOptions);
if (authResponse.AuthenticationStatus == AuthenticationStatus.MfaRequired)
{
???
}