Skip to content

Feature/firebase auth#53

Merged
benjaminJohnson2204 merged 26 commits into
mainfrom
feature/firebase-auth
Dec 19, 2025
Merged

Feature/firebase auth#53
benjaminJohnson2204 merged 26 commits into
mainfrom
feature/firebase-auth

Conversation

@r800360

@r800360 r800360 commented Jan 29, 2025

Copy link
Copy Markdown
Member

Tracking Info

Resolves #2 , #9 , #35

Changes

First Issue (#2):
Set Up Firebase for User Sign/Up Flow
-- Create Backend Create User Route (Following onboarding repo conventions)
-- Backend Routes handle Firebase portions
-- Store the UID that Firebase returns to pass to MongoDB
-- Simple dummy Sign up pages to test (Put it under Frontend/src/app/pages)

Second Issue (#9):
-- Set up the frontend request to send to Firebase to login user.

Third Issue (#35):

-- API call to the backend to fetch user identity - Get the user Identity from the backend by grabbing user data from the database
-- For login, create route to authenticate the user where Backend verifies Firebase token
-- Log user out

You can use the Sign up page and Log In pages that I created to test this pull request.

Confirmation of Change

To see the change, try signing up a user and logging that user in. Then, log the user out. I may add in a master page to better test the fetching of user identity if needed.

Message me on Slack for .env files for the frontend and backend.

@r800360 r800360 requested a review from Miyuki-L as a code owner January 29, 2025 23:11
@Miyuki-L Miyuki-L requested a review from andrewzpu January 29, 2025 23:42

@Miyuki-L Miyuki-L left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greate work on the firebase stuff its a large task and lots of work

There is a lot of extra code that isn't called that I'm not sure we need nor certain about its purpose some i don't even think have its matching backend or is needed

Please address the comments or responde to them if any questions

Comment thread backend/.gitignore Outdated
Comment thread package.json Outdated
Comment thread frontend/src/app/pages/LogInPage.tsx Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
Comment thread frontend/src/api/user.ts Outdated
@r800360 r800360 requested a review from Miyuki-L May 14, 2025 18:37
…to feature/firebase-auth

Brings branch into sync with mains
Comment thread frontend/src/api/users.ts Outdated
Comment thread frontend/src/api/users.ts Outdated
Comment thread frontend/src/api/users.ts Outdated
Comment thread frontend/src/api/users.ts Outdated
Comment thread frontend/src/app/login/page.tsx Outdated
Comment thread frontend/src/app/signup/page.tsx Outdated
Comment thread frontend/src/components/onboardingForm/Result.tsx
Comment thread frontend/src/contexts/userContext.tsx Outdated
Comment thread frontend/src/contexts/userContext.tsx Outdated
Comment thread frontend/src/firebase/firebase.ts Outdated
@r800360 r800360 requested a review from Miyuki-L May 29, 2025 22:57
Comment thread frontend/src/components/onboardingForm/Category.tsx
Comment thread frontend/src/components/onboardingForm/Category.tsx Outdated
@r800360

r800360 commented Jun 6, 2025

Copy link
Copy Markdown
Member Author

I think sign up, log in, and log out should now work, but I have not tested the normalization against every possible flow for the onboardingForm (I know it works with Student), so I need a bit of help with that.

@r800360 r800360 requested a review from Miyuki-L June 6, 2025 19:02
@benjaminJohnson2204 benjaminJohnson2204 merged commit 46438e6 into main Dec 19, 2025
2 checks passed
@benjaminJohnson2204 benjaminJohnson2204 deleted the feature/firebase-auth branch December 19, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authentication Firebase Set Up

3 participants