marco-dm1 / CS320-Team-M

Project repository for Team M of CS 320/429.
0 stars 0 forks source link

Authentication Setup #20

Open marco-dm1 opened 2 weeks ago

marco-dm1 commented 2 weeks ago

Begin setting up the authentication system for our project.

marco-dm1 commented 2 weeks ago

During our design phase, we did not decide what authentication system we should be using. You should investigate a couple different systems and decide what would best fit our use case.

Here are a number of different options:

marco-dm1 commented 2 weeks ago

https://www.youtube.com/watch?v=WpIDez53SK4

marco-dm1 commented 1 week ago

Video on setting up temporary signup endpoint with Express and Firebase. This video also shows demo requests using Postman. https://www.youtube.com/watch?v=F6LEKdQPSiM

marco-dm1 commented 1 week ago

This is a good resource with sample code on how to implement authentication APIs. https://medium.com/@swapkumbhar31/simplifying-user-authentication-with-firebase-node-js-express-and-typescript-e52b3fc0a780

marco-dm1 commented 1 week ago

How to Set Cookies for Front End: https://www.w3schools.com/js/js_cookies.asp

marco-dm1 commented 1 week ago

FOR BACKEND ENDPOINTS - VERIFYING THE TOKEN IS VALID: image https://firebase.google.com/docs/auth/admin/verify-id-tokens#web