Currently there doesnt seem to be a way for okta-react to pass a tokenManager property from the config to the underlying OktaAuth constructor.
Expected behavior
The Auth constructor in okta-react should send tokenManager configurations to the OktaAuth constructor.
Extra information about the use case/user story you are trying to implement
It seems like the accessToken expires every 5 minutes. I would like to keep track of this by listening to the "expired" event. But this is never emitted because autoRenew is always true
I'm submitting this issue for the package(s):
I'm submitting a:
Current behavior
Currently there doesnt seem to be a way for okta-react to pass a tokenManager property from the config to the underlying OktaAuth constructor.
Expected behavior
The Auth constructor in okta-react should send tokenManager configurations to the OktaAuth constructor.
Extra information about the use case/user story you are trying to implement
It seems like the accessToken expires every 5 minutes. I would like to keep track of this by listening to the "expired" event. But this is never emitted because autoRenew is always true
Environment
node -v
): v11.7.0