Fix keycloak.username to keycloak.subject in JS example
This commit is contained in:
parent
a4e1865ccd
commit
0752877b90
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