Sean Aguinaga
Sean Aguinaga4w ago

Slack App OAuth Install

Has anyone used convex to store installations for Slack apps? https://tools.slack.dev/bolt-js/concepts/authenticating-oauth/ I think I need to register an http endpoint and do it that way somehow? But at the same time, I need to use it for OAuth with better-auth
Authenticating with OAuth | Bolt for JavaScript
OAuth allows installation of your app to any workspace and is an important step in distributing your app. This is because each app installation issues unique access tokens with related installation information that can be retrieved for incoming events and used to make scoped API requests.
4 Replies
Convex Bot
Convex Bot4w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
erquhart
erquhart3w ago
You should be able to run it through an http action: https://docs.convex.dev/functions/http-actions
HTTP Actions | Convex Developer Hub
Build HTTP APIs directly in Convex
Sean Aguinaga
Sean AguinagaOP2w ago
yes that worked!
Sean Aguinaga
Sean AguinagaOP2w ago
Gist
slackOAuthAction.ts
GitHub Gist: instantly share code, notes, and snippets.

Did you find this page helpful?