<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AIJEA6CQPOkta Classic EngineAuthenticationAnswered2025-01-31T16:40:16.000Z2025-01-06T22:52:18.000Z2025-01-31T16:40:16.000Z
Unlock Account stopped working in oktapreview tenants

Since couple weeks ago, I noticed unlock account feature stopped working in our okta preview tenants. Production has no issue. No changes has been made for a long time. I am suspecting its something new that OKTA introduced in the preview tenants only. Can you please help? Nothing has changed on our side. Same config and code run in preview and production tenants. only preview tenants have this issue.

 

this is the error we are getting

 

No remediation can match current flow, check policy settings in your org.

Remediations: [unlock-account]

 

This is the code that we used to handle it.

try {

await oktaAuth.idx.unlockAccount({

username: email,

authenticators: [AuthenticatorKey.OKTA_EMAIL],

});

await oktaAuth.idx.proceed({

methodType: 'email',

});

setTimeout(cancelOktaIdx, 300000);

setIsLoading(false);

 

setUnlockRequestSuccess(true);

} catch (error) {

console.error(error);

setAPIErrorMessage(t('APIErrorMessage'));

setIsLoading(false);

}


This question is closed.
Loading
Unlock Account stopped working in oktapreview tenants