Closed owen-sellner closed 11 months ago
Visit the preview URL for this PR (updated for commit 4a08a56):
https://blueprintsupportivehousing--pr194-owen-verify-2crodrxo.web.app
(expires Sun, 10 Dec 2023 21:15:10 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: f6bcdba7452bf82a6ec1a299c37d1bdff7870d09
Notion task link
Login/Signup Verification
Implementation description
AuthenticatedUser
type to include if the user is verified inAuthTypes.tsx
auth_routes.py
is_authorized_by_token
inauth_service.py
to check if a user is verified using the access tokenisVerified
inAuthAPIClient.ts
for the verification page button to update the AuthenticatedUser context if the user becomes verifiedSteps to test
docker exec -it SHOW-database /bin/bash -c "psql -U postgres -d show_db"
insert into users (first_name, last_name, role, user_status, email) values ('your first name', 'your last name', 'Admin', 'Invited', 'your email');
What should reviewers focus on?
Screenshot
Checklist