python-social-auth / social-app-django

Python Social Auth - Application - Django
BSD 3-Clause "New" or "Revised" License
2.04k stars 380 forks source link

Telegram login support #422

Open damascene opened 1 year ago

damascene commented 1 year ago

I would like to see Telegram login support in Python Social Auth - Django

Support seems present in social-core

https://github.com/python-social-auth/social-core/blob/master/social_core/backends/telegram.py

Could you please implement Telegram login support with proper documentation.

Thank you

sergio-itru commented 1 year ago

It is already working.

As per message of author telegram implementation https://khashtamov.com/ru/telegram-auth-django/ , if you use django version > 4, you shoud add SECURE_CROSS_ORIGIN_OPENER_POLICY = None to settings.py

https://python-social-auth.readthedocs.io/en/latest/configuration/django.html within this link you can find a general guide

razumv commented 1 year ago

Hi guys! What version of Django does telegram authorization currently work on?