Open cedricve opened 2 weeks ago
I've created a /login POST method to allow authentication for a user (https://redux.js.org/usage/nextjs). Currently it's just root, root, however will be replaced by mongodb database. https://github.com/uug-ai/facial-access-control/blob/main/api/routers/http/jwt_middleware.go#L41-L69
/login
root
This issue will allow us to login a user to the application (through a JWT - JSON Web Token), and then leverage the session/token through future requests. This issue is linked to #9 as it requires state management.
@KilianBoute / @LuisMaja will introduce you first to the API in our next standup.
I've created a
/login
POST method to allow authentication for a user (https://redux.js.org/usage/nextjs). Currently it's justroot
,root
, however will be replaced by mongodb database. https://github.com/uug-ai/facial-access-control/blob/main/api/routers/http/jwt_middleware.go#L41-L69This issue will allow us to login a user to the application (through a JWT - JSON Web Token), and then leverage the session/token through future requests. This issue is linked to #9 as it requires state management.