timmm
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
It’s ok the dashboard. It’s the convex actions url. I think I added an env variable for it
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
If you come up with a nicer pattern than this lmk 🙏
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
cont.
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
then in react
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
auth.node.ts
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
cont.
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
cont.
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
auth.ts
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
@albert chen here's how I built it
auth.config.ts
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
Give me an hour and I’ll find the code and share it here
22 replies
CCConvex Community
•Created by timmm on 3/4/2025 in #support-community
Non OpenID Connect auth
http actions
22 replies
CCConvex 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
22 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