GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Spring-Boot-Telegram-MFA-example/README.md at master · JK-devv/Spring-Boot-Telegram-MFA-example

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
19 lines (16 loc) · 1.47 KB
/

README.md

Copy path

File metadata and controls

19 lines (16 loc) · 1.47 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Spring Boot Telegram MFA example

Приложение, написанное на Spring Boot, показывает пример реализации функции "Подтверждение авторизации с помощью Telegram"

DEMO • YouTube DEMO • Статья на Habr

Запуск

  1. Для запуска вам понадобиться Java 11 и Maven.
  2. Запустите проект, используя комманду mvn spring-boot:run.

Запуск версии 2.0

  1. Версии 2.0 находиться на ветке telegram_oauth. Что бы её открыть, введите команду git switch telegram_oauth.
  2. Телеграм требует, что бы приложение работало на порту 80. Вы можете сменить порт в файле src/main/resources/application.properties или использовать приложения для переадресации запросов. К примеру nginx.
  3. С помощью @BotFather бота добавьте домен. Для локальных приложений вы можете использовать IP адрес в локальной сети.
  4. Запустите приложение точно также, как и первую версию, командой mvn spring-boot:run.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.