0

Why does the endpoint return different expiresAt value when I hit this endpoint {{URL}}/api/v1/sessions/me again and again? Initially,expiresAt showed me something like 12:34:56.When I hit is again in 1 minute time,it gave me 12:34:78.But I didnt perform any action in the UI side while that interval.Why is the expiration time getting refreshed?

divya
  • 53
  • 1
  • 9

1 Answers1

1

Making a call to /sessions/me renews the session expiration. It isn't just interaction with the UI that will extend the session, API calls on behalf of the user will extend it as well.

Thomas Kirk
  • 181
  • 4
  • Also,is there any API in OKTA where I can check session expiration time of apps tied to OKTA? – divya Aug 29 '16 at 05:06
  • Applications sessions are managed on their own and are separate from the Okta one. Also, Okta has no way to keep track of other session lifetimes or expirations. Maybe re-ask the question and explain what you are trying to achieve. – Thomas Kirk Aug 29 '16 at 13:00