# graphql context.auth.user.id is null

**URL:** <https://community.parseplatform.org/t/graphql-context-auth-user-id-is-null/5085>\
**Category:** Parse Server 📡\
**Created:** [February 10, 2026, 2:57am UTC](https://community.parseplatform.org/t/graphql-context-auth-user-id-is-null/5085 "2026-02-10T02:57:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![am2222](https://community.parseplatform.org/user_avatar/community.parseplatform.org/am2222/32/2100_2.png) [@am2222](https://community.parseplatform.org/u/am2222)\
**Post date:** [February 10, 2026, 2:57am UTC](https://community.parseplatform.org/t/graphql-context-auth-user-id-is-null/5085/1 "2026-02-10T02:57:32Z")

</div>

Hi,  
so I started to setup graphql with latest version of parse-server. here is my query

```auto
query GetCurrentUser {
                viewer {
                  sessionToken
                  user {
                    objectId
                  }
                }
              }

```

and this is my header

```auto
{"X-Parse-Application-Id":"myAppId","X-Parse-Session-Token":"r:75db68f1cc3....a5fbe43b718bf3f4"}

```

for some reason it fails at here

```auto
const response = await _rest.default.find(config, context.auth, '_User',
  // Get the user it self from auth object
  {
    objectId: context.auth.user.id
  }, options, info.clientVersion, info.context);

```

the value for `context.auth.user` is undefined! I tried to debug it but seems this value is comming from `req.auth`! I am wondering if there is any bugs somewhere?

 ![image](https://parse-community-forum-uploads.s3.dualstack.us-east-1.amazonaws.com/original/2X/7/74bab6cbbc033c0a73f5d1b77b98270367a292ca.png)
