Accedi con 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 Mi Piace

I attach some screenshots of how it works:

5 Mi Piace

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

2 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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

1 Mi Piace

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 Mi Piace

Ho una v1 funzionante qui:

8 Mi Piace


Sto avendo problemi
fallimento di mancata corrispondenza della firma durante la registrazione

@mjsir911 intendi continuare a lavorare su questo plug-in? Oltre ai problemi menzionati nella repository di GitHub, sarebbe fantastico poter recuperare l’uniqueid e non il campo Name, e il nome utente. Utile per un futuro flusso. Posso impostarlo come lavoro nel Marketplace se qualcuno è interessato.

2 Mi Piace

Ciao! Voglio ringraziare @mjsir911 per il plugin tanto necessario e meraviglioso :raised_hands:

Sono d’accordo con te @Mr.X_Mr.X. Volevo anche chiedere a @mjsir911 come posso rimuovere la riga per l’inserimento dell’indirizzo email durante la registrazione tramite un bot Telegram? Nel mio caso, ho scelto questo plugin in modo che le persone non debbano passare attraverso passaggi aggiuntivi (soprattutto l’inserimento del loro indirizzo email) per registrarsi. Quando stavo per installare questo plugin, ero sicuro che l’email non sarebbe stata richiesta :frowning:

Ci sono riuscito! :raising_hands:t2:

Ma, quando clicco su “Accedi con Telegram” su Discourse, vengo reindirizzato a mysite.com/auth/telegram - e si presenta così:

Sai se quel sito è impostato dal plugin o cosa? Non posso nemmeno modificare il CSS, dato che la pagina è al di fuori dell’ambito dei temi…

Sta ancora funzionando? Non vedo più il pulsante di accesso

Ho problemi a far funzionare questo, qualcuno può aggiornare se funziona?

1 Mi Piace

Ciao a tutti, ho provato anche io a riprogettare il plugin, ma senza successo.
Anche questa vecchia versione del plugin non funziona.
Credo che dovrò trovare qualcuno che lo scriva da zero…
Per me è fondamentale che tutti gli account abbiano l’autorizzazione obbligatoria e il login confermato tramite Telegram. Se qualcuno conosce la soluzione, per favore, scriva.