Convex Auth - Redirect to app?
I'm building a hybrid app, and I'm currently using Convex Auth, which works really well on the web.
I'm using Capacitor to basically package my app into a webview. I'm wondering how I would make the Google oAuth redirect to my app, instead of the web.
Thanks!...
optimistic updates with view transition
i already wrap the messages component with the
ViewTransition
with unique name and
i tried wrapping startTransition
callback on either setQuery
& the handleSendMessage
but it doesnt work.
what's the right approach ? i just want a smooth animation when new message is inserted...
Additional parameters in Email config
I'm using
@convex-dev/auth/providers/Email
to send verification emails and want to support multiple languages (e.g., 'en', 'ko') based on user settings. However, the current sendVerificationRequest
doesn't accept custom parameters like customData
to pass locale info, forcing me to hardcode templates (e.g., 'en').
#### Current Code
```typescript
import { Email } from '@convex-dev/auth/providers/Email';...Pre generating IDs
Seems that the mutateAsync function pre-emptively returns an ID for an entity. Just wondering if there is a way to do the same outside of using mutateAsync, like more programatically using the ConvexReactClient directly for example?
🤔 Forcing a Refresh in TanStack Query with Convex: How to Do It?
I set up TanStack Query with Convex Query, and everything works fine by following the documentation. However, one thing I noticed is that Convex/TanStack Query doesn't require a forced refresh. I need to force a refresh for a specific purpose. Can anyone guide me on how to do that?
Issue using externalPackages Not Excluding Dependencies
I am trying to use fabric
fabric/node
in a convex node action and it seems it's dependency canvas
cannot be bundled and will produce this issue when deploying convex functions
```
No loader is configured for ".node" files: node_modules/fabric/node_modules/canvas/build/Release/canvas.node
...Cloudflare Pages w/ Convex NEXT_PUBLIC_CONVEX_URL
Does anyone have any guidance on how to properly set NEXT_PUBLIC_CONVEX_URL for de/preview/prod when using Cloudflare pages for hosting? I've attached my workaround that currently lets me deploy with it set to my prod convex instance but would like it to still set to my dev convex deployment for non prod deploys

Non OpenID Connect auth
I'm having some trouble getting custom auth working. I'm trying to get it working with privy.io
The local provider seems to be set up correctly - and the app id and domain appear to be correct in the auth.config.ts file
I believe what's happening is privy's JWKS endpoint doesn't match - which I think means privy isn't openid connect compatible
Is there any way to work around this?...
SolidJS integration
Currently, solid start has already entered tanstack start, although it is not yet stable. I hope we have a convex integration available when it stabilizes. Is there a plan solid integration?
Error: Unable to start push
Unable to get past this error on local machine. No logs or stack traces showing cause and source of error.
I have tried different ISPs, I also tried with a VPN but the error persists. Second screenshot is the folder structure...

How to connect flutter and Convex
I am gonna make the Chatting app.
Can be connected Flutter and Convex?...
Sorting all my documents
Hi, I want to do a normal query where I have a rank field on all of my documents and I want to return the top 10 documents by rank. Rank is indexed. Am I not able to do this? When I try to do my query I get the "over 8mb" error. Would appreciate some help, thanks!
Add access token from OAuth provider
I've successfully used the Spotify provider from
@auth/core/providers/spotify
with covexAuth
to create users/sessions in my Convex app.
Now, I'd like to call the Spotify API with the proper access token. I tried using the token generated by Convex Auth's signIn
, but this doesn't appear to work—I suppose that makes sense, but it was worth a shot.
Since the Convex Auth docs mention that configs are implemented with Auth.js configs, I took a look at the Auth.js "Extending the session" docs. They expose session
and jwt
callbacks for the purpose of sending data from a provider to the client. It looks like these callbacks are intentionally left out of the convexAuth
implementation, but is there a way to achieve something similar?...Suggestion: Drop "Convex Developer Hub" from Convex Docs page titles
It's probably a remnant of the past? Don't think it shows up anywhere else, but it does show up in link previews.
Login with cli or programmatically
Hi,
I'm creating an app that uses the WebContainer from Stackblitz to run cli commands from a Linux-like environment in the browser. I'm trying to spin up a convex development server from this environment, but running npx run dev would require authentication, and not all end users would have a github account for authentication. Is it possible to authenticate without opening a browser?
Thanks....
Auth token is not a valid JWT with ConvexProviderWithClerk (EXPO)
Issue
I'm using Clerk with Convex in an Expo Router app, and everything loads fine, logs me in, and works as expected. However, I get the following error when using ConvexProviderWithClerk:
```vbnet
ERROR Auth token is not a valid JWT, cannot refetch the token...
React Native Offline App Behavior
I'm build an iOS app with Expo / React Native. I am using Expo Go at least for now (honestly this could be my issue...). Testing on an iPhone.
What's the default behavior for Convex functions when network connection is lost? I was expecting an error, but instead what happened was nothing until I reconnected to the network and it processed all the requests. Is this normal? I was hoping it would throw an error or something so I could handle it, instead it created a buggy UI experience.
I'll have to make a dev build to really test this, but just wanted to see if anyone knew the expected behavior here. Thanks....
Creating a validator for [key: string]: any
Is it possible to create a Convex validator for the following type?
```typescript
export type JSONContent = {
type?: string;...
Value does not match validator
I pass a convex id as an URL params. This URL params i use to make a query to get other list of data. What i wanted to do was if someone tried to modify the URL say it doesnt exist but i get the convex error. Any solution as to why this happens ?
