authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Add Telegram as a social login provider

Open trashcluster opened this issue 3 years ago • 18 comments

Telegram offers an authentication mechanism for websites, i've seen some websites that did this --> https///portal.bcc.no. The login page is Auth0 so integrating it is possible

https://telegram.org/blog/login https://core.telegram.org/widgets/login

I've searched without luck for a keycloak plugin for this function but nobody seems to have investigated it but now that i've come across Authentik project it seems way more suited for it.

trashcluster avatar Feb 04 '22 11:02 trashcluster

Contributing to interest in this. It'd be useful under numerous circumstances, including the ability to filter based on groups someone is a member of.

KayOhtie avatar Aug 14 '22 18:08 KayOhtie

This feature would be greatly appreciated

Didza avatar Sep 10 '22 22:09 Didza

This is the most useful feature, moreover, in addition to sending messages to email, need add sending messages to telegram bot.

Vladimir-Va avatar Dec 07 '22 19:12 Vladimir-Va

I think this feature is more needed now

mahdikiani avatar May 22 '23 16:05 mahdikiani

Yep, that would be great to see Telegram auth in nearest releases!

prostoprojekt avatar Jun 20 '23 10:06 prostoprojekt

We would really appreciate this feature.

Didza avatar Sep 10 '23 20:09 Didza

yes! i wonder how easy it would be to generate an automatic login URL via api... a telegram bot could request it for the user who's account is linked and then the bot would send a login url for the user to click and done

Mrs-Feathers avatar Nov 08 '23 18:11 Mrs-Feathers

any updates on this?

sysadminpower2019 avatar Nov 29 '23 20:11 sysadminpower2019

@Mrs-Feathers I may give it a try using a variation on the Email stage, storing the user's information in attributes.

KayOhtie avatar Dec 03 '23 16:12 KayOhtie

I'd upvote this as well!

sepffuzzball avatar Dec 27 '23 22:12 sepffuzzball

The big issue is that despite the URL using oauth.telegram.org not having a lot of oauth in it, therefore, most tools like authentik don't support it, the way how portal.bcc.no seems to have done it, is by implementing their own login provider, which converts telegram to something auth0 supports.

I have done a very hacky poc of this here which is compatible with authentik until we have someting permanent, similar to this comment in the steam issue https://github.com/goauthentik/authentik/issues/2282#issuecomment-1574993069

DRSchlaubi avatar Jan 11 '24 16:01 DRSchlaubi

I'd appreciate this feature as well!!!

anataliocs avatar Feb 05 '24 06:02 anataliocs

Upvoting this!

dylanrhodes0 avatar Feb 17 '24 17:02 dylanrhodes0

Hope to see this soon.

ARHAEEM avatar Mar 06 '24 13:03 ARHAEEM