H-BAHDON / class-of-our-own

At Code Your Future, trainee progress is tracked on a trainee tracker against milestones set by the Director of Education. But each trainee at CYF is on their own personal journey towards employment, and should really set their own milestones on their own roadmap.
MIT License
2 stars 1 forks source link

[US-1] Handle and store JWT on frontend #31

Closed H-BAHDON closed 11 months ago

H-BAHDON commented 11 months ago

After a successful GitHub login, the backend provides a JWT for secure communication between the frontend and backend. This token, stored appropriately, ensures smooth and secure interactions, allowing the backend to recognize and authenticate the user.

To make it work we need to store a JWT received from backend between responses and attach it to next requests.

Acceptance criteria