How to increase the Expiration time of State token for authn sdk?

The expiration time of state token is found to be 5 minutes, while using the signInWithCredentials API. How can we increase this time limit?
@andrea

Hello,

I believe the only way to increase a state tokens lifetime is using it in a API Call, see Authentication | Okta Developer

It uses a sliding window so each time it is used the lifetime is extended to provide enough time for the next step.

I don’t believe there is a way to increase the base lifetime of the token.

Thank You,