mennov_
CCConvex Community
•Created by mennov_ on 1/16/2025 in #support-community
skip - works in dev not prod
It feels simple, but I can seem to solve it. I use skip if the userId isn’t defined. Works in dev, errors in prod - seems to be calling the function even thought skip is defined.
Simplified it down to:
const user = useQuery(api.users.getUser, “skip”);
It works against dev, but when built and pushed to prod, “skip” no longer seems to apply. (And I’ve used skip elsewhere and it does seem to work).
Latest 1.18.2 convex/react library.8 replies
CCConvex Community
•Created by mennov_ on 1/11/2025 in #support-community
Limit Domain
I’m using convex auth together with Google OAuth2 authentication. How do I limit users strictly to a single domain?
I’ve been able to add hd=domain.com to the url, but want to make sure it’s limited before users are added.
3 replies