@Fl4shBack51 No problem
Telegram Passport login SSO
-
@julian said in Telegram Passport login SSO:
Hm, that's interesting. https://core.telegram.org/passport
Once someone makes an npm module for it it'll be easier, but all the tools are there
do you mean something like this?
os this one
i dont have the knowledge to build it
-
@exodo you never know, you might be able to do it... just take passport-facebook and change it to use passport-telegram? You might have to change a couple things here and there as well, but it might be quite easy...
-
@julian @exodo Hey guys. I started to look into this. I came across the following in the "passport-telegram-official" strategy.js file
/** * `TelegramStrategy` constructor. * * The Telegram authentication strategy authenticates requests by delegating to Telegram using their protocol: https://core.telegram.org/widgets/login * * Applications must supply a `verify` callback which accepts an `account` object, and then calls `done` callback sypplying a `user`, which should be set to `false` if the credentials are not valid. If an exception occurred, `error` should be set. * * More info here: https://core.telegram.org/widgets/login
This tells me that it doesn't use the OAuth 2.0 protocol. Do you have any ideas on strategies to implement this?
-
@julian said in Telegram Passport login SSO:
@exodo you never know, you might be able to do it... just take passport-facebook and change it to use passport-telegram? You might have to change a couple things here and there as well, but it might be quite easy...
@GarrettBryan said in Telegram Passport login SSO:
@julian @exodo Hey guys. I started to look into this. I came across the following in the "passport-telegram-official" strategy.js file
/** * `TelegramStrategy` constructor. * * The Telegram authentication strategy authenticates requests by delegating to Telegram using their protocol: https://core.telegram.org/widgets/login * * Applications must supply a `verify` callback which accepts an `account` object, and then calls `done` callback sypplying a `user`, which should be set to `false` if the credentials are not valid. If an exception occurred, `error` should be set. * * More info here: https://core.telegram.org/widgets/login
This tells me that it doesn't use the OAuth 2.0 protocol. Do you have any ideas on strategies to implement this?
no idea
-
It sounds like a variation on the existing OAuth2 flow, so I see no reason why the npm package wouldn't work. Probably means additional coding, though.
-
Hello. Looking to integrate this in to my site. Does someone looking into this right now? I can take a look
-
The typographic style of this post is interesting, is it a '<frame>'?
How can I do it?
Please. -
@ufan0 Iframely plugin is used for the oneboxes in the original post.
-
@julian Thank you.
-
@MintertalkOrg If you give us a shout at [email protected], we can send over a quote