timmm
Explore posts from serversCCConvex Community
•Created by MegaHydronics on 12/17/2024 in #support-community
Accessing client IP address in a query/mutation
@ballingt I would definitely use this too. To rate limit on IP address I have to use a http endpoint. I think for me I'd probably want the raw details from the http request (presumably) that happens when initating the web socket
9 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
I ended up getting this working by creating my own openid connect compaitible api using convex http (well known, jwks endpoint etc) and then using a token conversion endpoint to create a session from the privy token and return a token for my application to use for ongoing auth
4 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Oh I will change to this. Didn't realise you could do that
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Thanks again Tom 🙂
For those coming back here later the full solution was:
1. setup convex auth as per instructions https://labs.convex.dev/auth/setup/manual
2. add the twitter provider to convex/auth.ts
3. add a custom schema for users - note that the email needs to be optionally null
email: v.optional(v.union(v.string(), v.null()))
4. add the callback URL on twitter to your convex HTTP endpoint. I'm using local dev atm http://127.0.0.1:3211/api/auth/callback/twitter
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
This is great. Very much appreciated!
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
You move so quick - thanks heaps Tom
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Hey it's working!
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
ohhhhh
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
I'm going to keep poking around... using email might not be an issue
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
I'm guessing that's the way you link multiple accounts or how next auth does it
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Can I change email to optional in the schema?
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Oh yep I got the same error
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Nah it's fine. It's for the auth I'll pull out
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
it's because I had a folder called auth already
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Oh I know why.. nvm
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
ok this is a bit odd - the signIn function has thrown off all my types
Type instantiation is excessively deep and possibly infinite.ts(2589)
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
Ah of course
78 replies
CCConvex Community
•Created by timmm on 2/21/2025 in #general
Using Twitter with Convex Auth
I'm guessing the callback url is to the convex server http api?
78 replies