# /api/v1/sessions/me is not found

**URL:** <https://devforum.okta.com/t/api-v1-sessions-me-is-not-found/14189>\
**Category:** API\
**Created:** [May 11, 2021, 4:25pm UTC](https://devforum.okta.com/t/api-v1-sessions-me-is-not-found/14189 "2021-05-11T16:25:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [May 18, 2021, 9:43pm UTC](https://devforum.okta.com/t/api-v1-sessions-me-is-not-found/14189/4 "2021-05-18T21:43:28Z")

</div>

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](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.

> **[Access-Control-Allow-Credentials - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)**
>
> The Access-Control-Allow-Credentials response header
> tells browsers whether to expose the response to frontend JavaScript code when the
> request's credentials mode (Request.credentials) is include.

---

_[View the full topic](https://devforum.okta.com/t/api-v1-sessions-me-is-not-found/14189)._
