Abdul
CCConvex Community
•Created by Abdul on 3/10/2025 in #support-community
Mapping telegram user ids to Convex users
I was wondering if this would make a useful feature in Convex where we could manually set authentication context just like other backend frameworks like Spring
8 replies
CCConvex Community
•Created by Abdul on 3/10/2025 in #support-community
Mapping telegram user ids to Convex users
i think my question is a bit different as there is no client side involved here. The request lands on convex http action from telegram servers as webhook and there we don't have any jwt attached to the request but only signature which can verify the origin of request and after that we use telegramUserId in the request to associate the request to the user.
I think I need to create a reverse proxy that handles the webhook and use clerk api to generate the session token for the user identified by telegram user id and then relay the request with jwt token to convex http action.
8 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
sorry to miss that part in the error message.
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
thank you so much for your help 🙂
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
Oh it worked after adding 'use node' on the Document.tsx file
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
nope
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
no this file only exports the action and it's not imported by any other file
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
pdf.ts
15 replies
CCConvex Community
•Created by Abdul on 12/30/2024 in #support-community
Unable to push deployment config when using @react-pdf/renderer
it's only one action with 'use node' at the top and it imports another one which has the layout
15 replies