Okta-react how to inform users their Password is about to expire?

Using the Okta React SDK, I don’t see any way to check the authentication Transaction state.

I’m trying to notify my users their password is about to expire, so far I haven’t found any way of doing that.

Hi @nmarshall23! The React SDK is dependent upon the okta-auth-js sdk where you can check the user’s transaction state - https://www.npmjs.com/package/@okta/okta-auth-js#transactionstatus. However, I don’t see a way to prompt the user to reset their password directly through the sdk, but you can enable this via Okta’s Authentication API - or through the dashboard Security > Authentication > Prompt user 5 days before password expires.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.