Telegram Oauth social login bot [TUTORIAL]

Add BotFather

/newbot
nameof_bot

Save the API key somewhere you will need to put it in nextcloud along with your bot username in the social login section.

Go here

Add your bot username and change the authorization type to “Redirect to URL”
Enter your nextcloud domain followed by:

/apps/sociallogin/oauth/telegram

https://cloud.nextcloud.com/apps/sociallogin/oauth/telegram

Login with Telegram

Go back to BotFather

/mybots

Select your bot

/setdomain
cloud.nextcloud.com

Go to your nextcloud settings social login admin page.
Enter your Telegram bot name

nameof_bot

and your API key that you copied when you created your bot

And that’s it

2 Likes

I think you should create a pull request to improve the documentation of the apps :wink:

1 Like

Like so?

2 Likes