Skip to content
generated from cheqd/.github

Custom connectors and modifications for LogTo used in Community Credentials App

License

Notifications You must be signed in to change notification settings

cheqd/connector-telegram

Telegram OAuth connector for LogTo

GitHub release (latest by date) GitHub Release Date GitHub license

GitHub release (latest by date including pre-releases) GitHub commits since latest release (by date) GitHub contributors

GitHub Workflow Status GitHub Workflow Status GitHub repo size

ℹ️ Overview

This NPM package is a custom OAuth connector designed for LogTo for use with Telegram. LogTo is an open-source identity management software with out-of-the-box support for many social connectors, and allows custom connectors to be created.

🛠️ Configuration

Once you've added this custom connector to LogTo (see Developer Guide) below, you need to configure your connector. The steps defined below mirror the setup guide for the Telegram Login Button widget.

  1. Register a new Telegram bot using the @Botfather Telegram bot.
  2. Send the /setdomain message to @Botfather to set a public redirect URI for the bot.
    1. Telegram expects this domain to be publicly-routable. Therefore, trying to specify this as localhost or a non-public domain name doesn't work.
  3. Copy the Bot Token and the Bot Domain. These credentials need to be set in your LogTo admin dashboard to configure and activate the connector.

🧑‍💻 Developer Guide

Use with LogTo

To use this connector with LogTo, copy the NPM package contents into a new folder under packages/connectors/connectors-telegram on a copy of the LogTo repository or the LogTo Docker image.

You can build just this library using:

npm install
npm run build

💬 Community

The cheqd Community Slack is our primary chat channel for the open-source community, software developers, and node operators.

Please reach out to us there for discussions, help, and feedback on the project.

🙋 Find us elsewhere

Telegram Discord Twitter LinkedIn Slack Medium YouTube