Page MenuHomeSealhub

Setup bot API, auth and storage
Open, LowPublic2 Points

Description

Setup sqlite for storing auth data.

Setup a bot with BotFather on Telegram. Make the app read that token from an environment variable.

Read Discourse API token from Env variable.

Create an endpoint for setting up Discourse authorization. Visiting that endpoint should present a form that asks you for your username and telegram chat ID. Then the bot sends a discourse message to that username with a unique link. Clicking it will save the user id and telegram chat id in sqlite for later use.

Details

Coded by
ziomek
Reviewed by
kuba-orlik
Action required from
kuba-orlik

Revisions and Commits

Event Timeline

ziomek updated Coded by, added: ziomek.
ziomek subscribed.
ziomek added a revision: Restricted Differential Revision.Mar 16 2024, 22:41
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: FilipI; removed: ziomek.
jenkins-user updated Action required from, added: kuba-orlik; removed: FilipI.
jenkins-user moved this task from Review to Doing on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user moved this task from Review to Doing on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user moved this task from Review to Doing on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user moved this task from Review to Doing on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.