Skip to content

Implement JWT & Rework security#14

Draft
ZakShearman wants to merge 4 commits intoOnServerInit:mainfrom
ZakShearman:feature/jwt-security
Draft

Implement JWT & Rework security#14
ZakShearman wants to merge 4 commits intoOnServerInit:mainfrom
ZakShearman:feature/jwt-security

Conversation

@ZakShearman
Copy link
Contributor

@ZakShearman ZakShearman commented Feb 15, 2022

This PR moves the authentication from Spring's form based auth to JWT authentication.

This has the benefits of a more common standard as well as including

To-do:

  • Implement JWT fully
  • Re-work roles
  • Re-do security config
  • Implement CSRF protection

Auth workflow:

  • Post request to /auth/login with a body containing values username and password
  • Cookie on the client is set

Added dependencies:

  • jjwt-api
  • jjwt-impl
  • jjwt-jackson

@ZakShearman ZakShearman mentioned this pull request Feb 15, 2022
3 tasks
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.

1 participant