radicalplatforms / shafa

A wardrobe logging, composition, and organization app
https://shafa.app
Mozilla Public License 2.0
1 stars 0 forks source link

Enforce Auth in Frontend using Author #49

Open rak3rman opened 7 months ago

rak3rman commented 7 months ago

Description

Integrate Author into the frontend. As a user, I'd like to have data unique to my specific user. As of now, every user who hits any endpoint submits and fetches data as the "rak3rman" user. Allow the user to login on the frontend and pass those creds down to the backend. This consists of two big tasks: add middleware to the frontend to automatically support auth, and create a sample page that demonstrates auth enforcement (could be /items).

Acceptance Criteria

Generated by Zenhub AI