Skip to content

When enrolling an Okta Verify Factor the pollInfo is null #316

@bdemers

Description

@bdemers

I have an org and application set up to require both a password and Okta Verify (with factor enrollment setup)

IDXAuthenticationWrapper idxAuthenticationWrapper = new IDXAuthenticationWrapper();

AuthenticationResponse authenticationResponse = idxAuthenticationWrapper.begin();

ProceedContext proceedContext = authenticationResponse.getProceedContext();

AuthenticationOptions authenticationOptions = new AuthenticationOptions(username, password);

authenticationResponse = idxAuthenticationWrapper.authenticate(authenticationOptions, proceedContext);

This last authenticationResponse is in the AWAITING_POLL_ENROLLMENT state.

I'm expecting the authenticationResponse.getProceedContext().getPollInfo().getRefresh() to contain a value (related see #315)
however getPollInfo() returns null.

NOTE: there proceedContext.refresh IS set to "4000" (looks like a similar issue to #315). But this does NOT match to get the polling information used in other places. i.e. when verifying an email factor.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions