wundergraph / wundergraph

WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.

Home Page:https://wundergraph.com

Repository from Github https://github.comwundergraph/wundergraphRepository from Github https://github.comwundergraph/wundergraph

NextJS next-auth test app not working

brampurnot opened this issue · comments

Description

I'm trying to setup a Wundergraph project with NextJS and next-auth. I have been following the tutorial but without any luck. I then tried to run the testapp locally and I'm getting the same error.

The setup I have is connected with a Keycloak instance; I know I can use OIDC directly but I'm planning on using a token based setup. The app runs fine and I can also login. However all GraphQL calls are returning an HTTP 401.

I installed the latest versions of Wundergraph:
"@wundergraph/nextjs": "^0.15.9",
"@wundergraph/sdk": "^0.184.2",

I also tried it with the Github provider but it has the same issue:
Screenshot 2024-05-29 at 14 36 30

Reproduction

Setup the project connected to a Keycloak instance. Run the app (npm install && npm start), login and query the graphql.

Here is a link to the Github repo btw:
https://github.com/brampurnot/wundergraph-next-auth

Is this repo still being maintained or are you going to deprecate it?