Closed Pham-Vincent closed 2 hours ago
Set up OAuth for google authentication. Attempted to implement google authentication - Had issues likely arising from not having a proper domain. Pivoting to implement custom login form for the time being.
Created Working Registration page based on CSS from: https://codeshack.io/secure-registration-system-php-mysql/
Link (after running flask): http://127.0.0.1:5000/register
Hashes password on input for security. Used Flask implementation to communicate with database and check if username or email from form submission were already in the database, if found, user is redirected to the registration page and nothing is added to database. If successful and username and email are unique, then data will be added to the database and user is redirected to the mapping webpage.
Next Steps: Adding Session Variables Adding Login Adding Settings Page/Options to Registration to Customize user experience
Reworked hashing for registration and how the registration and login pages interacted.
Reference for code and styling: https://codeshack.io/login-system-python-flask-mysql/
Next Steps: Adding Session Variables Adding Settings Page/Options to Registration to Customize user experience
Update: Temporarily Complete
Session Variables set up, with working registration and login. There is not much too do given the lack of information on this part, I will keep the ticket open, but it will not a primary concern at the moment.
Future Points:
We need a Login Page so users are able to get their preferred focus on the map.