r/learnjava • • Jul 12 '20

Java Spring Security JWT Auth Boilerplate project

Hi community!

Inspired by this YouTube tutorial by AmigosCode, I have put together a Java Spring Security reference boilerplate, which provides JWT users authentication

Please feel free to take a look, thank you!

Github project link: https://github.com/MatthewCYLau/java-spring-security

32 Upvotes

7 comments sorted by

1

u/natural_lazy Jul 12 '20

so I won't have to include a third party for authentication and autherization?

1

u/borgy_t Jul 13 '20

Finally a project that uses jjwt beyond 0.9.1! I'll take a look at it and how i can improve my own implementation. I am using 0.11.1 and had to change a few things from when i was using 0.9.1. not sure how clean/correct my code is though

1

u/ericmurano Jul 13 '20

Awesome! Thank you

1

u/mdayann Jul 13 '20

thanks man

1

u/nutrecht Jul 14 '20

You haven't included a license so no one can actually use it.

1

u/geffchang Jul 14 '20

It says MIT license in GitHub.

1

u/nutrecht Jul 14 '20

That won't be picked up by many people or scanners for licences. It's best to just use the standard and add a LICENSE file like everyone else.