You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The access tokens used for OAuth for Okta feature only last an hour. When using the private_key_jwt authentication access tokens instead of the traditional API Token, this SDK does not renew them so API requests from this SDK will just start failing after an hour. Here is a code snippet to reproduce https://pastebin.com/N0eLisqU
There should be some additional logic to renew tokens ideally before they even expire.
The text was updated successfully, but these errors were encountered:
Referring to code introduced in this PR
https://github.com/okta/okta-sdk-nodejs/pull/128/files
https://developer.okta.com/docs/guides/implement-oauth-for-okta/overview/
The access tokens used for OAuth for Okta feature only last an hour. When using the private_key_jwt authentication access tokens instead of the traditional API Token, this SDK does not renew them so API requests from this SDK will just start failing after an hour. Here is a code snippet to reproduce
https://pastebin.com/N0eLisqU
There should be some additional logic to renew tokens ideally before they even expire.
The text was updated successfully, but these errors were encountered: