Fix keycloak.username to keycloak.subject in JS example

This commit is contained in:
Stian Thorgersen 2017-04-26 08:21:03 +02:00
parent a4e1865ccd
commit 0752877b90

View file

@ -73,7 +73,7 @@ After the user is authenticated the application can make requests to RESTful ser
[source,javascript]
----
var loadData = function () {
document.getElementById('username').innerText = keycloak.username;
document.getElementById('username').innerText = keycloak.subject;
var url = 'http://localhost:8080/restful-service';