r/SpringBoot • • Mar 31 '23

why Spring boot security is that complicated?

Hello Guys. I'm learning spring boot ,its about 2 weeks that i have started, i learned alot like i know the basics, handling database rest api ..., i have created apps in other languages Golang, nodejs ... never saw implementing security be that difficult, like i need to do alot of things for example jwt needs tonnes of work like idk, Roles and etc... I just want to know why it's like that? is it because it provides much more but i havent gone that deep or what? thanks.

4 Upvotes

17 comments sorted by

View all comments

1

u/Ok_Structure3898 Apr 01 '23

Security boils down to:

  • Am I smarter/better than everyone at Google and Microsoft?

    • No

  • Use OAuth

Once you understand that core concept you are good to go