From 4e2ca4ce44bd6e2b410ab585d2e2171705222de9 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 6 Sep 2016 09:04:14 +0200 Subject: [PATCH] Update topics/oidc/javascript-adapter.adoc --- topics/oidc/javascript-adapter.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/oidc/javascript-adapter.adoc b/topics/oidc/javascript-adapter.adoc index 8ea168e0b8..2963168b7e 100644 --- a/topics/oidc/javascript-adapter.adoc +++ b/topics/oidc/javascript-adapter.adoc @@ -367,4 +367,4 @@ The available events are: * onAuthRefreshSuccess - Called when the token is refreshed. * onAuthRefreshError - Called if there was an error while trying to refresh the token. * onAuthLogout - Called if the user is logged out (will only be called if the session status iframe is enabled, or in Cordova mode). -* onTokenExpired - Called when the access token is expired. When this happens you can for refresh the token, or if refresh is not available (ie. with implicit flow) you can redirect to login screen. +* onTokenExpired - Called when the access token is expired. If a refresh token is available the token can be refreshed with updateToken, or in cases where it's not (ie. with implicit flow) you can redirect to login screen to obtain a new access token.