Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login integration #156

Merged
merged 3 commits into from
Feb 3, 2024
Merged

Login integration #156

merged 3 commits into from
Feb 3, 2024

Conversation

ansengarvin
Copy link
Collaborator

@ansengarvin ansengarvin commented Feb 2, 2024

login_pr.mp4

I updated the login page to be able to receive tokens and store them as a cookie in the browser. Currently, the website doesn't do anything with these cookies, and it provides the user no feedback as to whether or not their login was successful. You can test these changes by looking at the developer console in your browser of choice. There's only one valid account in the database for this PR: The email is "garvina@oregonstate.edu" and the password is "hunter2" (no, not my real password.)

I had to add a new dependency: js-cookie. Prior to running this program, you should run the "soft_restart" command in the shell.

Closes #152
Closes #130

@ansengarvin ansengarvin marked this pull request as draft February 2, 2024 03:49
@ansengarvin ansengarvin marked this pull request as ready for review February 2, 2024 03:52
@xnought xnought self-requested a review February 2, 2024 05:06
Copy link
Member

@xnought xnought left a comment

Choose a reason for hiding this comment

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

Wonderful! Very nice job!

@xnought xnought merged commit 03a5c3d into main Feb 3, 2024
3 checks passed
@xnought xnought deleted the login_integration branch February 3, 2024 04:28
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.

Integrate login page with API Store authentication (bearer) tokens in front end
2 participants