Sign inSign up

kirushik/discourse_telegram_auth

By kirushik

•Updated over 7 years ago

Telegram auth proxy for Discourse SSO

Image
0

1.4K

kirushik/discourse_telegram_auth repository overview

⁠Telegram authentication for Discourse SSO

Built on top of Grape API framework⁠ and Goliath web server⁠, this tiny API serves Discourse SSO protocol and talks with SAML2 authentication endpoints.

You should point your Discourse instance to SSO API at https://<host-with-this-API.com>/login, and set the proper SAML endpoint data in config/production.rb (requires restart). Everything else will be handled automatically. The configuration options are rather limited at the moment, but should be pretty self-descriptory.

⁠Deployment

You can have a look at the attached nginx.conf.example and systemd template unit [email protected]. With that template unit you can launch multiple instances of a API server, and then use them all in your nginx upstream directive.

Tag summary

Content type

Image

Digest

Size

91.7 MB

Last updated

about 8 years ago

docker pull kirushik/discourse_telegram_auth