amfoss / amfoss/ammingo-frontend
Integrate authentication (Google OAuth + Email OTP) with frontend
- Linguagem predominante
- Dart
- Estrelas
- 2
- Forks
- 4
- Merge médio
- 2min
- PRs com merge (30d)
- 2
Descrição
## Integrate authentication (Google OAuth + Email OTP) with frontend
### Description
Hook up the Flutter frontend to the existing backend auth endpoints — both Google OAuth and Email OTP.
### Tasks
- [ ] Email login: call `POST /api/login/email`, build OTP screen, call `POST /api/login/verify-otp`
- [ ] Google login: trigger `GET /api/login/oauth` via `flutter_web_auth_2`, handle `amingo://auth-callback?token=...` redirect from `GET /api/login/callback`
- [ ] Navigate to display name / home screen after successful login
- [ ] Handle errors: expired/incorrect OTP, canceled OAuth, network failure
Guia de contribuição
Direção de pesquisa
Start by locating the Flutter frontend's authentication entry point and reviewing the existing POST /api/login/email, POST /api/login/verify-otp, GET /api/login/oauth, and GET /api/login/callback flows. Done means both email OTP and Google OAuth reach the display name or home screen, with expired or incorrect OTP, canceled OAuth, and network failures handled.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- dart, flutter
- Domínio
- authentication, frontend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 55/100