ianI
Convex Communityโ€ข2y agoโ€ข
2 replies
ian

Not sure what you mean by integrity. The

Not sure what you mean by integrity. The convex server uses the token provided for authentication. The token comes from the clerk API. For SSR, you need to provide the token server-side since there isn't an authenticated ConvexProvider wrapping everything. When you provide the token server-side, it fetches the authenticated results. On the client-side, it has an authenticated provider and the requests from there use that. In both cases, the token is the same and Convex handles the token validation and parsing.

Let's make a support thread to continue talking about how auth works in Convex?
Was this page helpful?