Skip to content

sources: add Telegram source #15749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

atereshkin
Copy link

@atereshkin atereshkin commented Jul 23, 2025

Details

This implements Telegram social login provider as requested in #2232

Closes #2232


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@atereshkin atereshkin requested review from a team as code owners July 23, 2025 11:46
Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 97057b2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6889e00dda83420008c6e68f
😎 Deploy Preview https://deploy-preview-15749--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 97057b2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6889e00d0dc62e0008e6f3a9
😎 Deploy Preview https://deploy-preview-15749--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 97057b2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6889e00d0dc62e0008e6f3ae
😎 Deploy Preview https://deploy-preview-15749--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

codecov bot commented Jul 24, 2025

Codecov Report

❌ Patch coverage is 99.65157% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.44%. Comparing base (ac79acd) to head (97057b2).

Files with missing lines Patch % Lines
authentik/sources/telegram/views.py 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15749      +/-   ##
==========================================
+ Coverage   92.43%   92.44%   +0.01%     
==========================================
  Files         831      839       +8     
  Lines       44471    44758     +287     
==========================================
+ Hits        41108    41378     +270     
- Misses       3363     3380      +17     
Flag Coverage Δ
e2e 45.35% <51.21%> (-0.34%) ⬇️
integration 23.58% <17.07%> (-0.05%) ⬇️
unit 90.88% <99.65%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@tanberry tanberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @atereshkin for adding the docs for Telegram. A few nits to address please, but looks great, LGTM!!

@tanberry
Copy link
Contributor

Oh, also @atereshkin in order to resolve some of the build checks fails, you might need to 1. rebase your local repo on upstream main in order to pick up some changes in our build tools, and 2. run make docs-install to instlal those new tools/versions.

@rissson rissson changed the title sources: add Telegram source (#2232) sources: add Telegram source Jul 24, 2025
atereshkin and others added 17 commits July 24, 2025 18:08
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…x.md

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com>
…isconnect Telegram source from their account
@atereshkin atereshkin requested review from tanberry and rissson July 24, 2025 18:27
@rissson rissson requested a review from BeryJu July 25, 2025 12:24
Copy link
Contributor

@tanberry tanberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @atereshkin !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Telegram as a social login provider
4 participants