Skip to content

Commit

Permalink
fix refresh tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Mar 24, 2023
1 parent 7cedfca commit 53845b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WebApplication/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ axios.get('../api/pre-login-configuration').then((config) => {
setInterval(() => {
window.keycloak.updateToken(70).then((refreshed) => {
if (refreshed) {
console.log('Token refreshed' + refreshed);
console.log('Token refreshed');
localStorage.setItem("vue-token", window.keycloak.token);
localStorage.setItem("vue-refresh-token", window.keycloak.refreshToken);
orthancApi.updateAuthHeader();
} else {
console.log('Token not refreshed, valid for '
Expand Down
7 changes: 7 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.8.1 (2023-03-24)
==================

Fixes:
- Since the introduction of multiple selections, is was not possible to open the StoneViewer on a single study
- Auth tokens were not refreshed correctly.

0.8.0 (2023-03-22)
==================

Expand Down

0 comments on commit 53845b6

Please sign in to comment.