Skip to content

Spliterash/keycloak-telegram-identity-provider

 
 

Repository files navigation

Telegram Widget Identity Provider

The project allows you to add telegram as an identity provider to the keycloak form.png

Setup

  1. Set frame-src 'self' https://oauth.telegram.org/; frame-ancestors 'self' https://oauth.telegram.org/; object-src 'none'; in Realm Content-Security-Policy on Security Defenses tab
  2. Select keycloak.v2-telegram-web-login theme
  3. Add telegram identity provider.
    • Specify alias like your bot username, it's important
    • Paste bot token at client secret
    • ClientID ignored, but required on frontend, so you can paste any stuff you want setup.png
  4. Done, now you can register and log in via telegram

PS: I do not override account theme, because i don't need it, and actually don't know how. Button available only on login page

This project is a hard fork of https://github.com/rickispp/telegram-web-keycloak-authenticator

About

Telegram Widget Authenticator For Keycloak

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • FreeMarker 51.3%
  • Java 48.7%