# GraphQL Authentication works but the isAuthenticated=false

**URL:** <https://community.weweb.io/t/graphql-authentication-works-but-the-isauthenticated-false/6011>\
**Category:** Ask us anything\
**Tags:** authentication\
**Created:** [December 19, 2023, 4:41pm UTC](https://community.weweb.io/t/graphql-authentication-works-but-the-isauthenticated-false/6011 "2023-12-19T16:41:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [December 19, 2023, 4:41pm UTC](https://community.weweb.io/t/graphql-authentication-works-but-the-isauthenticated-false/6011/1 "2023-12-19T16:41:45Z")

</div>

I’m logging in the user using graphql, but I’m not sure why the authentication says false eventhough the tokens are properly stored.

Also, how can I load the “user” data?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/6348b31a89eb83b59e3f2831de10370cbcf0010a.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [December 28, 2023, 4:44pm UTC](https://community.weweb.io/t/graphql-authentication-works-but-the-isauthenticated-false/6011/2 "2023-12-28T16:44:57Z")

</div>

Hi @visualdevs 👋

Sorry I didn’t see your question earlier!

What steps did you include in your login workflow?

Did you go through [this process](https://academy.weweb.io/scale-your-web-app/token-based-auth/):

1. API request to get authentication token (looks like you did)
2. `Store token` action to store the token (looks like you did as well)
3. `Fetch user` action to get the user record from our db (maybe that’s what you’re missing?)

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [January 10, 2024, 4:13am UTC](https://community.weweb.io/t/graphql-authentication-works-but-the-isauthenticated-false/6011/3 "2024-01-10T04:13:38Z")

</div>

I was missing the step 3, thank you so much!
