Merge pull request #126 from stianst/master

Fix keycloak.username to keycloak.subject in JS example
This commit is contained in:
Stian Thorgersen 2017-04-26 08:21:19 +02:00 committed by GitHub
commit dea668dbef

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';