# Check if user signed in (javascript)

**URL:** <https://devforum.okta.com/t/check-if-user-signed-in-javascript/2774>\
**Category:** Questions\
**Created:** [September 18, 2018, 3:36pm UTC](https://devforum.okta.com/t/check-if-user-signed-in-javascript/2774 "2018-09-18T15:36:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xpacheco](https://avatars.discourse-cdn.com/v4/letter/x/58f4c7/32.png) [@xpacheco](https://devforum.okta.com/u/xpacheco)\
**Post date:** [September 18, 2018, 3:36pm UTC](https://devforum.okta.com/t/check-if-user-signed-in-javascript/2774/1 "2018-09-18T15:36:43Z")

</div>

Without using the sign-in widget, what is the standard means to check if a user has authenticated in javascript?

---

<div class="post-metadata">

**Author:** ![scoobymib3](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@scoobymib3](https://devforum.okta.com/u/scoobymib3)\
**Post date:** [September 21, 2018, 10:36am UTC](https://devforum.okta.com/t/check-if-user-signed-in-javascript/2774/2 "2018-09-21T10:36:47Z")

</div>

Checkout okta-auth-js

> **[okta/okta-auth-js](https://github.com/okta/okta-auth-js)**
>
> The official js wrapper around Okta's auth API. Contribute to okta/okta-auth-js development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 17, 2024, 7:22pm UTC](https://devforum.okta.com/t/check-if-user-signed-in-javascript/2774/3 "2024-01-17T19:22:22Z")

</div>

Closed on January 17, 2024, 7:22pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
