Hi! I’m using Okta in my Angular app. Access token’s lifetime is 5 mins and session’s one is 7 mins. I’m expecting the following behavior:
User is logged in
Access token’s lifetime is set to 5 mins
Session’s lifetime is set to 7 mins
After 5 mins (when the access token expires) I’m getting new tokens (ID and access) with getWithoutPrompt or with renewTokens
After 5 more minutes I’m trying to do the same thing ^ and it’s successful, although the session should be expired already
I can see, that with every tokens refresh request the session’s lifetime gets extended with 7 more mins.
I don’t want this thing to happen, I want the session not to get extended whenever I get new access and ID tokens.
Is there a way to achieve that?
Thanks!
“@okta/okta-angular”: “^5.1.1”,
“@okta/okta-auth-js”: “^6.2.0”,
“@okta/okta-signin-widget”: “^6.1.2”,