- telegram login function is in
functions/src/index.ts
- telegram login button is in
src/components/tg-login-button.tsx
- auth url:
/telegramLogin
- fireabse custom token - jwt - is returned to the client
- todo: create user in firebase, handle jwt with cookie
vitalikda / firebase-custom-oauth Goto Github PK
View Code? Open in Web Editor NEWpoc: firebase custom oauth with telegram
Home Page: https://firebase-custom-oauth.vercel.app/