You can use the /api/v1/sessions/me/lifecycle/refresh
endpoint if you have a frontend (javascript).
https://developer.okta.com/docs/reference/api/sessions/#refresh-current-session
You’ll want to set withCredentials
or credentials
to true
so that the request is made with the session cookie from the browser.