pusher-platform-node
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -9,2 +9,8 @@ # Change Log | ||
## [v0.12.1] 2018-04-05 | ||
### Fixes | ||
- Issuer check in refresh token validation now checks that the issuer starts with `api_keys/`, not `keys/` | ||
## [v0.12.0] 2018-03-29 | ||
@@ -11,0 +17,0 @@ |
{ | ||
"name": "pusher-platform-node", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"main": "./target/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./target/index.d.ts", |
@@ -12,3 +12,3 @@ # pusher-platform-node | ||
"dependencies": { | ||
"pusher-platform-node": "~0.12.0" | ||
"pusher-platform-node": "~0.12.1" | ||
} | ||
@@ -15,0 +15,0 @@ } |
@@ -72,3 +72,3 @@ import {IncomingMessage} from "http"; | ||
decoded = jwt.verify(oldRefreshToken, this.instanceKeySecret, { | ||
issuer: `keys/${this.instanceKeyId}`, | ||
issuer: `api_keys/${this.instanceKeyId}`, | ||
}); | ||
@@ -75,0 +75,0 @@ } catch (e) { |
@@ -56,3 +56,3 @@ "use strict"; | ||
decoded = jwt.verify(oldRefreshToken, this.instanceKeySecret, { | ||
issuer: "keys/" + this.instanceKeyId, | ||
issuer: "api_keys/" + this.instanceKeyId, | ||
}); | ||
@@ -59,0 +59,0 @@ } |
Sorry, the diff of this file is not supported yet
61593