A
A
albertalexandrov2018-03-11 08:44:01
Django
albertalexandrov, 2018-03-11 08:44:01

How to implement registration via telegram in allauth?

Hello!
How to implement registration / authorization in django-allauth on the site? The documentation only says:

SOCIALACCOUNT_PROVIDERS = {
    'telegram': {
        'TOKEN': 'insert-token-received-from-botfather'
    }
}

What to do next is unclear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
marataziat, 2018-03-11
@marataziat

There is a @BotFather bot in the telegram, with the help of which bots are registered in the cart. Nalo write /newbot to him and you will receive a token.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question