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

Add employee sign in endpoint #41

Closed
Tracked by #24
Goncalo-Marques opened this issue Mar 24, 2024 · 0 comments · Fixed by #44
Closed
Tracked by #24

Add employee sign in endpoint #41

Goncalo-Marques opened this issue Mar 24, 2024 · 0 comments · Fixed by #44
Assignees
Labels
enhancement New feature or request server app Work associated with the server app

Comments

@Goncalo-Marques
Copy link
Owner

Goncalo-Marques commented Mar 24, 2024

  • Create HTTP endpoint to handle sign in:
    • Request body:
      • username
      • password
    • Response body:
      • JWT
  • Compare given password with the one stored in the database using bcrypt
@Goncalo-Marques Goncalo-Marques self-assigned this Mar 24, 2024
@Goncalo-Marques Goncalo-Marques added enhancement New feature or request server app Work associated with the server app labels Mar 24, 2024
@Goncalo-Marques Goncalo-Marques changed the title Add sign in endpoint Add employee sign in endpoint Mar 24, 2024
Goncalo-Marques added a commit that referenced this issue Mar 26, 2024
Refs: closes #41 

## Summary

Add endpoint to sign an employee in and return a JWT.

## Changes

- Add new cspell words to ignore
- Add sign in endpoint to swagger spec
- Add authentication service to handle passwords and JWT generation and
validation
- Add employee username logging key
- Add http transport layer to handle employee sign in
- Add service layer to handle employee sign in
- Add store layer to handle employee sign in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server app Work associated with the server app
Projects
Status: Done
1 participant