openid-client
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -21,2 +21,6 @@ # openid-client CHANGELOG | ||
## Version 1.6.0 | ||
### Version 1.6.4 | ||
- [DIFF](https://github.com/panva/node-openid-client/compare/v1.6.3...v1.6.4) | ||
- fixed receiving (correct) empty responses from revocation endpoints (#21) | ||
### Version 1.6.3 | ||
@@ -23,0 +27,0 @@ - [DIFF](https://github.com/panva/node-openid-client/compare/v1.6.2...v1.6.3) |
@@ -590,3 +590,8 @@ 'use strict'; | ||
if (hint) body.token_type_hint = hint; | ||
return this.authenticatedPost('revocation', { body }, response => JSON.parse(response.body)); | ||
return this.authenticatedPost('revocation', { body }, (response) => { | ||
if (response.body) { | ||
return JSON.parse(response.body); | ||
} | ||
return {}; | ||
}); | ||
} | ||
@@ -593,0 +598,0 @@ |
{ | ||
"name": "openid-client", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js servers, supports passportjs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -362,3 +362,3 @@ # openid-client | ||
// client_id defaults to client.client_id | ||
// redirect_uri defaults to redirect_uris[0] | ||
// redirect_uri defaults to client.redirect_uris[0] | ||
// response type defaults to client.response_types[0], then 'code' | ||
@@ -365,0 +365,0 @@ // scope defaults to 'openid' |
70121
1295