Merge pull request #126 from stianst/master
Fix keycloak.username to keycloak.subject in JS example
This commit is contained in:
commit
dea668dbef
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue