Skip to content

Commit

Permalink
Merge pull request #201 from gyselroth/v1.1.x
Browse files Browse the repository at this point in the history
v1.1.1
  • Loading branch information
raffis committed Jul 23, 2019
2 parents d829a02 + a615ec6 commit 24032d8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.1.1
**Maintainer**: balloon-team <opensource@gyselroth.net>\
**Date**: Tue Jul 23 13:14:33 CEST 2019

* CORE [FIX] oidc access token can't be refreshed #200


## 1.1.0
**Maintainer**: balloon-team <opensource@gyselroth.net>\
**Date**: Wed Jun 12 10:32:21 CEST 2019
Expand Down
9 changes: 7 additions & 2 deletions app/lib/auth/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,18 @@ module.exports = function(env, clientConfig) {
}

function refreshAccessToken() {
switch(clientConfig.get('authMethod')) {
case 'odic':
var authMethod = clientConfig.get('authMethod');

switch(authMethod) {
case 'oidc':
return _refreshOidcAccessToken();
break;
case 'token':
return _refreshInternalAccessToken();
break;
default:
return Promise.reject(new Error('refresh acess token for method "'+ authMethod + '" not implemented.'));
break;
}
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "balloon-desktop",
"productName": "Balloon",
"description": "Balloon Desktop Client",
"version": "1.1.0",
"version": "1.1.1",
"author": "gyselroth GmbH <opensource@gyselroth.net>",
"copyright": "© 2017-2019, gyselroth GmbH",
"homepage": "https://www.gyselroth.com",
Expand Down Expand Up @@ -90,7 +90,7 @@
"minimist": "~1.2.0"
},
"dependencies": {
"@gyselroth/balloon-node-sync": "0.5.0",
"@gyselroth/balloon-node-sync": "0.5.1",
"@gyselroth/icon-collection": "^1.0.9",
"@gyselroth/node-advanced-desktop": "^1.0.5",
"@openid/appauth": "^1.1.2",
Expand Down

0 comments on commit 24032d8

Please sign in to comment.