This Week’s Project Contributions

Fixing JWT Not Sending

At the start of this week, once again, the JWT was not sending to the frontend. As we got into the debugging assignment, I decided to focus primarily on fixing this issue.

I go over all of the steps of the process in this debugging issue, but in summary:

  • Using debugging, I was able to confirm that all user data was detected and generated correctly when a call was made; this wasn’t a preflight problem or a problem with the backend’s code.
  • It seemed that the only step that caused a problem was the frontend receiving the SET_COOKIE HTTP header in the request, which it ignored.
  • I researched what could cause the header to not be accepted and researched teacher_portfolio’s request options, and was able to get the cookie to send successfully with modified request options!

Please see the debugging issue for more details!

In this commit, I was able to get the JWT to send consistently with the backend locally. Right now, the deployed backend is having a problem with CORS that I’m working on fixing.

Speaking of deployed backend…

Backend Deployment

After fixing the JWT, I re-deployed the backend! Click here to see it.

I made some additional modifications to the frontend (as you can see) so that it would fit our new group theme and be very distinct.

Info for Seed

3.0/3.0

  • Exceptional achievement. 93% or better in last trimester of CompSci.

  • Exemplar in Team work. Fosters community of learning beyond individual or single friend.
  • Completion of 2.7 items.
    • See below.

2.7/3.0