get-convex / get-convex/convex-react-query
Allow passing an auth token (JWT) during SSR
Open
- Dominant language
- TypeScript
- Stars
- 41
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Maybe an option like in https://github.com/get-convex/convex-react-query/blob/76176f093d780b615c696ce9456f83a9090a70f7/src/index.ts#L87
like
```
/**
* Set the auth token to this value both during SSR on the server and before
* the callback specified by ConvexReactClient.setAuth(cb) has returned for
* the first time.
*
* If not specified or set to undefined, send no auth token during SSR and
* begin the the browser websocket session unauthenticated.
*/
initialAuth?: string;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.