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

feat(backend): add user can login with correct credentials SCRUM-52 #32

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

markkovari
Copy link
Contributor

Based on @AnnaUgrai 's provided code.

Annotated the classes with documentation and sources.

Some of the methods were deprecated so I changed them to the new. Some todo's were added too, but those will be removed when we will have authenticated endpoints.

  • write tests
  • Add dependency
io.jsonwebtoken jjwt 0.12.6
  • create login DTO
  • create JWT utility class
  • autowire it to the controller so we can add it to the login endpoint once it is created
    -> added it into the service rather
  • configure spring security -> NOT YET NEEDED
  • create jwt filter -> NOT YET NEEDED
  • check what else we need

Signed-off-by: Márk Kővári <kovarimarkofficial@gmail.com>
Signed-off-by: Márk Kővári <kovarimarkofficial@gmail.com>
… JwtUtil

Signed-off-by: Márk Kővári <kovarimarkofficial@gmail.com>
Signed-off-by: Márk Kővári <kovarimarkofficial@gmail.com>
@markkovari
Copy link
Contributor Author

markkovari commented Jul 15, 2024

watchdog be like

@markkovari markkovari changed the title feat(backend): add user can login with correct credentials feat(backend): add user can login with correct credentials SCRUM-52 Jul 15, 2024
@markkovari markkovari enabled auto-merge July 16, 2024 16:21
@markkovari markkovari merged commit 698b01c into main Jul 16, 2024
2 checks passed
@markkovari markkovari deleted the SCRUM-52 branch July 16, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants