This repository is outdated. You can find the better version of this repository here: https://github.com/deltachat-bot/discourse-login-bot
Using DeltaChat as an authentication provider. This generates a QR code which you can scan with Delta Chat to create an account and get a login cookie.
node.js version 10 or higher required.
- Generate a configuration by putting JSON-encoded data into
$HOME/.login-dcrc
. E.g.:
{
"email_address": "loginbot@example.org",
"email_password": "verysecure",
"client": {
"clientId": "random string",
"clientSecret": "random string",
"redirectUris": ["https://support.delta.chat/auth/oauth2_basic/callback"]
}
}
- Install the dependencies with
npm i
and run it withnpm start
.