957 B
Authentication
It's possible to configure authentication using a third party Authentication Provider (referred to as AP). Currently only Telegram is supported as an AP.
Telegram
In order to use Telegram as an AP you need to be hosting Owltide under a domain name over https, using http will not work.
You will also need a bot which can be created by messaging @BotFather, with the domain of the bot set using the /setdomain
command to the domain Owltide is hosted under.
Once you have the pre-requisites you need to configure NUXT_TELEGRAM_BOT_TOKEN_FILE
to a path to a file containing the token of the bot with no spaces or new-lines. NUXT_PUBLIC_TELEGRAM_BOT_USERNAME
to the username of the bot. And finally NUXT_PUBLIC_AUTH_TELEGRAM_ENABLED
to true
to enable authentication via Telegram.