https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44080
Bug ID: 44080
Summary: Bind Koha::Token JWTs to their purpose (typ/aud
claims)
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 43077
Target Milestone: ---
Koha::Token->encode_claims and decode_claims sign any claims with the single
key derived from the database password, without a purpose or audience claim. A
validly signed token from one flow (SCO cookie, check-in confirmation and
action tokens, checkout confirmation tokens) is accepted by another flow that
decodes the same id shape.
Add a typ or aud claim, set by each caller and checked on decode.
Deferred from bug 43077 (comment 10, point 3) and bug 24401 (comment 82, point
4).
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43077
[Bug 43077] Add encode_claims/decode_claims to Koha::Token
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/