diff --git a/implicit_grant/public/index.html b/implicit_grant/public/index.html
index 7e3ab27e..24b4df27 100644
--- a/implicit_grant/public/index.html
+++ b/implicit_grant/public/index.html
@@ -95,8 +95,7 @@
oAuth info
var userProfileSource = document.getElementById('user-profile-template').innerHTML,
userProfileTemplate = Handlebars.compile(userProfileSource),
- userProfilePlaceholder = document.getElementById('user-profile');
-
+ userProfilePlaceholder = document.getElementById('user-profile'),
oauthSource = document.getElementById('oauth-template').innerHTML,
oauthTemplate = Handlebars.compile(oauthSource),
oauthPlaceholder = document.getElementById('oauth');
@@ -122,6 +121,10 @@ oAuth info
$('#login').hide();
$('#loggedin').show();
+
+ oauthPlaceholder.innerHTML = oauthTemplate({
+ access_token: access_token
+ });
}
});
} else {
@@ -151,4 +154,5 @@ oAuth info
}
})();
+