# Reported issues for Nhost

Pod holds 11 of 11 GitHub reports that passed its relevance review. This can include external user reports, maintainer-confirmed bugs, and concrete feature gaps. Treat them as evidence to inspect, not a count of distinct defects.

Back to [Nhost](/mcp/nhost).

## Most discussed

### cannot quite workout how to use graphql.request with signed-in user

I'm using nhost v2 with Vue3, and it's not quite clear how to use it properly.
After user logged-in I'm keeping nhost session and client in pinia store.
When (after login) there is nhost.graphql.request I see that it lacks authorization header, which obviously gives error (for tables where I've set permissions).
[{"extensions": {"path": "$","code": "validation-failed"},"message": "no mutations exist"}]
looking through methods I see there is setAccessToken, so I've set…

[Read the thread](https://github.com/nhost/nhost/issues/373) · 2022-04-08 · closed · external user · 9 comments

### Cannot authenticate on the CLI after upgrading

**Describe the bug**

I want to download the last nhost config for my app, after upgrading some services, but authentication fails

**To Reproduce**
```
❯ nhost login
Select authentication method:
1. PAT
2. Email/Password
3. Github
- method: 2
- email: x@xxx [obscured here]
- password:
Authenticating
main.go:65: failed to create PAT: failed to create PAT: request validation failed: unexpected status code: 400, message: {"error":"error in openapi3filter.SecurityRequirementsError: security…

[Read the thread](https://github.com/nhost/nhost/issues/3635) · 2025-10-25 · closed · external user · 4 comments

### getSession return null when use inside next.js getServerSideProps

Im try to get user session inside getServerSideProps by using - nhost.auth.getSession() but its return null after refreshing the page or route change.
This issue occurs after updating to @nhost/nextjs@1.6.2 or upper.

[Read the thread](https://github.com/nhost/nhost/issues/886) · 2022-08-18 · closed · external user · 4 comments

### Error with sign in with social login when passing options

I'm signIn a user as follow:
```ts
const login = async () => {
  await auth.signIn({ provider, options: { locale, redirectTo: `/${locale}` } })
}
```
When I click the social login button, I've tested with LinkedIn and Google and they both have the same behaviour, they both return this error:
**Error validating request query. "locale" is not allowed. "redirectTo" is not allowed.**
This is the URL I get:…

[Read the thread](https://github.com/nhost/nhost/issues/386) · 2022-04-11 · closed · outside contributor · 4 comments

### MCP Server - tool missing items in array type

Hi,
when I try to use the MCP Server inside the VSCode Copilot Extension, i get the error 
```
Error validating the mcp_nhost-mcp_get-schema tool: 
Error: tool parameters array type must have items.
```

After some short research I came to the conclusion, that the error could be in for example this line:
https://github.com/nhost/nhost/blob/main/cli/mcp/tools/schemas/schemas.go#L73

Other related issues(https://github.com/microsoft/vscode/issues/246119) show the same error with a potential…

[Read the thread](https://github.com/nhost/nhost/issues/3686) · 2025-11-11 · closed · outside contributor · 3 comments

### Nextjs: Nhost client not properly updating user session

I am using nhost with Nextjs. I am trying to use createServerSideClient on a SSR page. but it is not passing the accesstoken when i am making queries with nhost.graphql.request(). I tried to get the session with nhost.auth.getSession(). it is returning null. getNhostSession() is also returning null.

I followed all the steps in the documentation.
i can retrieve the user data once the page is hydrated with useUserData
but i couldn't retrieve any auth related data on getServerSideProps

[Read the thread](https://github.com/nhost/nhost/issues/930) · 2022-09-12 · closed · external user · 3 comments

### rename problem at upgrade

**Describe the bug**

`nhost sw upgrade`

leads to

```
Upgrading to cli@1.34.0...
Copying to /usr/local/bin/nhost...
main.go:80: failed to rename /tmp/nhost-cli-339313107 to /usr/local/bin/nhost: rename /tmp/nhost-cli-339313107 /usr/local/bin/nhost: invalid cross-device link

```

**To Reproduce**
Steps to reproduce the behavior:
I don't know.

**Expected behavior**
Uprading

**Desktop (please complete the following information):**
 - OS: Linux

[Read the thread](https://github.com/nhost/nhost/issues/3597) · 2025-10-12 · closed · external user · 2 comments

### isAuthenticated returns false after page refresh when storing refreshToken in cookies

when storing refreshToken via cookies and not localStorage (with this config https://github.com/nhost/nhost/blob/main/packages/nextjs/src/create-server-side-client.ts#L24-L44)
despite the cookie expiry time being set for 30 days, after login when the page is refreshed, a call to nhost.auth.isAuthenticated() will return false.

steps to reproduce:
import nhost-js.umd.js into the webpage:
```
<script src="/js/nhost-js.umd.js"></script>
<script type="module">
  import Cookies from…

[Read the thread](https://github.com/nhost/nhost/issues/888) · 2022-08-19 · closed · external user · 2 comments

## Most recent

### onTokenChanged regression

With `@nhost/react` version `0.5.0` it is no longer possible to use `onTokenChanged` directly like:
```typescript
auth.onTokenChanged(() => {
  subscriptionsClient?.setConnectionParams(
    {
      headers: process.env.HASURA_GRAPHQL_ADMIN_SECRET
        ? {
            "x-hasura-admin-secret": process.env.HASURA_GRAPHQL_ADMIN_SECRET,
          }
        : {
            authorization: `Bearer ${auth.getJWTToken()}`,
          },
    },
    true
  );
});
```

It will cause the…

[Read the thread](https://github.com/nhost/nhost/issues/384) · 2022-04-11 · closed · external user · 0 comments

### Apollo client does not attach authorization headers when using React 18 and Next

Apollo client does not attach authorization headers when using React 18 and Next

See https://github.com/kenny-io/nhost-nextjs/pull/1

[Read the thread](https://github.com/nhost/nhost/issues/346) · 2022-04-06 · closed · outside contributor · 1 comment

### Stuck at Creating Project

Hi. I am evaluating this new product. I've just following the getting started guide and tried to create a "todos" app but now the process has been stuck on the "Creating your project..." step (Nhost console) for days now. Even when I pick my answers and move ahead, the process does not complete and stays at this step for hours.

![image](https://user-images.githubusercontent.com/83374925/116600914-25090200-a92a-11eb-95ff-ad8154f92981.png)

[Read the thread](https://github.com/nhost/nhost/issues/33) · 2021-04-29 · closed · external user · 2 comments

The remaining reports are on [the project's issue tracker](https://github.com/nhost/nhost/issues).
