amfoss / amfoss/ammingo-frontend

Integrate authentication (Google OAuth + Email OTP) with frontend

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2
Forks
4
Avg merge
2m
Merged PRs (30d)
2

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.