File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 2.2.0
4
+
5
+ * ` Bug ` : Invalidation of tokens was not happening due to not using the actual key for the storage
6
+
3
7
## 2.1.0
4
8
5
9
* ` Feature ` : cbauth upgraded to version 4
Original file line number Diff line number Diff line change @@ -209,7 +209,10 @@ component accessors="true" singleton{
209
209
variables .log .info ( " Token invalidation request issued for :#arguments .token #" );
210
210
}
211
211
212
- var results = getTokenStorage ().clear ( arguments .token );
212
+ // Invalidate the token, decode it first and use the jti claim
213
+ var results = getTokenStorage ().clear (
214
+ this .decode ( arguments .token ).jti
215
+ );
213
216
214
217
// Announce the creation
215
218
variables .interceptorService .processState ( " cbSecurity_onJWTInvalidation" , {
You can’t perform that action at this time.
0 commit comments