Hi,
We are upgrading to OIE from Okta Classic. By following the documentation here Understand how sessions work after the upgrade | Okta Developer, we learned that /api/v1/sessions/${sessionId} - GET would be deprecated in OIE and also the alternative is sessions/me. However, when I did a quick POC with calling sessions/me endpoint, it extends my session each time I’m calling it with our Prod Org. It does not extend session with our Preview Org.
Our business scenario is that we want to alert end user when its session gets close to expire
My questions are:
-
How are we supposed to get current session info?
-
What would be the alternative OKTA API to be called in OIE to get session info?