Anmeldung mit Telegram

Are there any plans for integrating Telegram Login as an OAuth provider? Or someone that could do a plugin? :sweat_smile:

It has been released today, I tested and it’s really practical:

21 „Gefällt mir“

I attach some screenshots of how it works:

5 „Gefällt mir“

To be precise it’s not an implementation of the oauth protocol. Very interesting anyway.

2 „Gefällt mir“

By the way, I’ve implemented Discourse SSO provider for Telegram Login, basing on the code from my SAML SSO provider:

https://github.com/kirushik/discourse_telegram_auth/

Also available from DockerHub, docker pull kirushik/discourse_telegram_auth.

Currently it’s completely untested, and lacks any documentation — but bugreports and feature requests are welcome.

10 „Gefällt mir“

Any preview or demo? :sweat_smile:

Well, it’s available on the forum I’ve written it for — but it’s a special-interest group in Russian, so I don’t think sharing it here will be a good idea.

Meanwhile, using Telegram as SSO provider is not what most people want — so I think I’d spend some time turning my code in a proper auth plugin…

4 „Gefällt mir“

It would be great if something like that could be implemented. I.e. login/signup on Discourse site thru telegram.
I’ve found that normal users are not able to login/signup to my forum simply because they never remember their emails ID and PWs. They just get someone to create an email account when they setup their new android phone, and then afterwards they never sign out or sign in to the same.

1 „Gefällt mir“

Any progress there, just in case?
I was interested in making our site users to be able to create account and login thru telegram. This way they can dispense with email id/pw, and can create account and login with just their mobile number (and telegram app).

I’m also curious on this. Has anyone set it up successfully? I see both forks have not received updates since April of 2018.

1 „Gefällt mir“

Would love to see this working, we have over 200,000 subscribers on Telegram and this would help us a lot.

1 „Gefällt mir“

Love this project, is it still going well?

Well, the code is still there, and nothing should be broken in it (give or take the outdated and potentially vulnerable dependencies).
I no longer believe that abusing Discourse’s SSO APIs for logging in with Telegram is the right way to go, though (thus the repo is archived).

Much better solution would be a plugin adding a Telegram button to the supported auth options on the login popup/screen — but this would require quite a different approach, and I’m not aware of anyone trying to do this (even if it is 100% possible, and I remember seeing other plugins with similar functionality using other login networks somewhere out there)

4 „Gefällt mir“

Ich habe hier eine v1 am Laufen:

8 „Gefällt mir“


Ich habe ein Problem
Signatur-Mismatch-Fehler bei der Registrierung

@mjsir911 beabsichtigen Sie, an diesem Plugin weiterzuarbeiten? Neben den im GitHub-Repo erwähnten Problemen wäre es großartig, die Möglichkeit zu haben, die eindeutige ID und nicht das Namensfeld sowie den Benutzernamen abzurufen. Nützlich für einen zukünftigen Ablauf. Ich kann es als Job im Marketplace einstellen, wenn jemand daran interessiert ist.

2 „Gefällt mir“

Hallo! Ich möchte @mjsir911 für das dringend benötigte und wunderbare Plugin danken :raised_hands:

Ich stimme Ihnen zu, @Mr.X_Mr.X. Ich wollte @mjsir911 auch fragen, wie ich die Zeile für die Eingabe einer E-Mail-Adresse entfernen kann, wenn ich mich über einen Telegram-Bot registriere? In meinem Fall habe ich dieses Plugin gewählt, damit die Leute keine zusätzlichen Schritte (insbesondere die Eingabe ihrer E-Mail-Adresse) für die Registrierung durchlaufen müssen. Als ich dieses Plugin installieren wollte, war ich sicher, dass keine E-Mail angefordert würde :frowning:

Ich habe es zum Laufen gebracht! :raising_hands:t2:

Aber wenn ich auf „Mit Telegram anmelden“ auf Discourse klicke, werde ich zu mysite.com/auth/telegram weitergeleitet – und es sieht so aus:

Wissen Sie, ob diese Seite vom Plugin festgelegt wird oder was? Ich kann auch nicht das CSS bearbeiten, da die Seite außerhalb des Geltungsbereichs von Themes liegt…

Funktioniert das noch? Ich bekomme den Anmeldebutton nicht mehr

Ich habe Probleme damit, das zum Laufen zu bringen. Kann jemand Bescheid geben, ob es funktioniert?

1 „Gefällt mir“

Hallo Leute, ich habe auch versucht, das Plugin neu zu gestalten, aber ohne Erfolg.
Auch diese alte Version des Plugins funktioniert nicht.
Ich schätze, ich muss jemanden finden, der es von Grund auf neu schreibt…
Für mich ist es von grundlegender Bedeutung, dass alle Konten eine obligatorische Autorisierung und eine bestätigte Anmeldung über Telegram haben. Wenn jemand die Lösung kennt - bitte schreiben.

1 „Gefällt mir“