demo source code running in Gitpod get error of 502 and login fail in StackBlits
Environment
RootDir: /workspace/nuxt-auth-example 09:47:21 Nuxt project info: 09:47:21
- Operating System:
Linux - Node Version:
v16.19.0 - Nuxt Version:
3.1.2 - Nitro Version:
2.1.2 - Package Manager:
[email protected] - Builder:
vite - User Config:
css,modules,auth - Runtime Modules:
@nuxtjs/[email protected],@sidebase/[email protected] - Build Modules:
-
Reproduction
https://github.com/sidebase/nuxt-auth-example.git
Describe the bug
open the source code with Gitpod, export env varible, and npm run start. when login get error as "This page isn’t working" which url is "https://sidebase-nuxtauthexampl-6cxmiofy627.ws-us88.gitpod.io/api/auth/callback/credentials"
Request URL: https://sidebase-nuxtauthexampl-6cxmiofy627.ws-us88.gitpod.io/api/auth/callback/credentials Request Method: POST Status Code: 502 Remote Address: 127.0.0.1:1080 Referrer Policy: strict-origin-when-cross-origin
Additional context
No response
Logs
No response

I think the root reason may same as the error as above.