Skip to content

fix: check session state for admin tokens#2555

Open
staaldraad wants to merge 3 commits into
masterfrom
etienne/prodsec-189
Open

fix: check session state for admin tokens#2555
staaldraad wants to merge 3 commits into
masterfrom
etienne/prodsec-189

Conversation

@staaldraad
Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Middleware validates the session token has not expired.

What is the new behavior?

Validates the token has not expired and that the session has not been revoked.

Additional context

Middleware checks for admin tokens should validate that the session is still live. JWTs may be revoked but stay valid until the expiry time.

Middleware checks for admin tokens should validate that the session is
still live. JWTs may be revoked but stay valid until the expiry time.
@staaldraad staaldraad requested a review from a team as a code owner June 1, 2026 10:39
@blacksmith-sh

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@cstockton cstockton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants