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

Implement login page (JWT) #10

Open
cedricve opened this issue Apr 27, 2024 · 1 comment
Open

Implement login page (JWT) #10

cedricve opened this issue Apr 27, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cedricve
Copy link
Member

cedricve commented Apr 27, 2024

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

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.

@cedricve cedricve added the enhancement New feature or request label Apr 27, 2024
@cedricve
Copy link
Member Author

@KilianBoute / @LuisMaja will introduce you first to the API in our next standup.

@cedricve cedricve self-assigned this Apr 27, 2024
@cedricve cedricve moved this from Todo to In Progress in Facial Access Control May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: In Progress
Development

No branches or pull requests

3 participants