Update securing_apps/topics/oidc/javascript-adapter.adoc
Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
90735f3b1c
commit
71346995e5
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ const loadData = function () {
|
|||
|
||||
const url = 'http://localhost:8080/restful-service';
|
||||
|
||||
let req = new XMLHttpRequest();
|
||||
const req = new XMLHttpRequest();
|
||||
req.open('GET', url, true);
|
||||
req.setRequestHeader('Accept', 'application/json');
|
||||
req.setRequestHeader('Authorization', 'Bearer ' + keycloak.token);
|
||||
|
|
Loading…
Reference in a new issue