I have an app that one of our clients wants to use their Okta authentication with (they use Okta Verify for MFA). I can use Okta.Sdk to do so, and it works just fine.
That said, that requires a token for API access, whereas the authentication SDK (Okta.Auth.Sdk) does not. I would prefer to use this, but for the life of me I cannot find a way to obtain the FactorID for multi-factor authentication using the Okta.Auth.Sdk library. Primary authentication does provide MFA_REQUIRED in the response, but no factor information is returned.
It’s frustrating because I feel like I’m missing a tiny piece here, and I can’t find it. If I had a way of determining the Factor ID, the auth library would be perfect, but the call doesn’t work without the Factor ID and I see no way of getting it with just the auth library. I feel like I’m missing something obvious.