haikalrios opened a new issue, #1344:
URL: https://github.com/apache/shiro/issues/1344

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Question
   
   Hello everyone, I'd like to share a question and hear your opinions on a 
specific behavior.
   
   In a stateful application where we use a JWT access token in the 
authorization header (an approach that might seem odd for combining stateful 
with JWT), on the first request, the subject is assigned to the session, making 
it authenticated. Thus, subsequent requests are accepted until the session is 
invalidated. My question is: considering that the JWT token has its own 
validity period, would it make sense to revalidate the token with each request, 
or should we rely entirely on session management?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to