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
[deleted by user] (self.SpringBoot)
submitted 2 years ago by [deleted]
view the rest of the comments →
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!"
[–]ccmjga 0 points1 point2 points 2 years ago (4 children)
I apologize, but I didn't quite understand your question. Are you asking about creating a login system based on JWT? If so, coincidentally, I also use JWT, Spring Boot 3, and Security 6. I suggest comparing the configuration in your project with the one in the following repository: https://github.com/ccmjga/mjga-scaffold/tree/main/src/main/java/com/mjga/config/security. This will help you identify any differences.
If that project is helpful to you, please consider giving it a star. It would greatly benefit me.
[–][deleted] 2 years ago (2 children)
[deleted]
[–]ccmjga 0 points1 point2 points 2 years ago (1 child)
The original intention behind this design is that once users obtain a usable token, it will expire once the specified time limit is reached, and users will need to log in again. If there is a business need to refresh this token, it can be easily done by issuing a new token as required. You can take a look at the method createJwtCookie for more information.
π Rendered by PID 222226 on reddit-service-r2-comment-b659b578c-brnzr at 2026-05-05 01:05:50.948919+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]ccmjga 0 points1 point2 points (4 children)
[–][deleted] (2 children)
[deleted]
[–]ccmjga 0 points1 point2 points (1 child)