apollographql / apollographql/apollo-client-integrations

Send credentials from SSR

Open
#290 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
556
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Send credentials from here giving error

`app/ApolloWrapper.jsx` file like this [this](https://github.com/apollographql/apollo-client-nextjs?tab=readme-ov-file#in-ssr)

I want to send Like this `const httpLink = createHttpLink({
uri: "http://localhost:8000/graphql",
credentials: "include",
});
`
```[tasklist]
### Tasks
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with app/ApolloWrapper.jsx and compare its SSR setup with the linked Apollo Client Next.js example. Reproduce the reported credentials error and determine the expected request behavior; the issue is complete when credentials can be sent during SSR without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript, nextjs
Domain
api, full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.