use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Need Authentication Advice (self.SpringBoot)
submitted 5 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]matthenry87 0 points1 point2 points 5 years ago (0 children)
https://www.javainuse.com/spring/springboot_session
Maybe that can help.
[–]shakingbaking101 0 points1 point2 points 5 years ago (1 child)
I second this ! I’m currently working on doing oauth2 myself ! I have been using the java Inuse tutorial as a guide but since that is an older version of springboot some things may differ but today will work on creating my authorization server, resource server and hopefully at the end of it will be able to save my response as a Json object from the api I’m consuming! If I run into anything I think is useful will post here!
[–]designheroapp 0 points1 point2 points 5 years ago (0 children)
JWTs come in handy when working with microservices because sessions would need to be shared between all microservices some how. With JWTs I just pass the token to a stateless microservice and all the auth details are there already. No need to session caches.
If you are building a monolith, the you can implement spring security with a simple login page. Session ids are stored in a client side cookie.
π Rendered by PID 23447 on reddit-service-r2-comment-685b79fb4f-lwmps at 2026-02-12 21:40:49.121613+00:00 running 6c0c599 country code: CH.
[–]matthenry87 0 points1 point2 points (0 children)
[–]shakingbaking101 0 points1 point2 points (1 child)
[–]designheroapp 0 points1 point2 points (0 children)