Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Bug fix for or-app-security auth header

Rich Turnerbc8c03402fe1
diff --git a/client/src/main/webapp/src/or-app/or-app-security.html b/client/src/main/webapp/src/or-app/or-app-security.html
index c633fc1fd..8e47fa757 100644
--- a/client/src/main/webapp/src/or-app/or-app-security.html
+++ b/client/src/main/webapp/src/or-app/or-app-security.html
@@ -277,7 +277,7 @@
getAuthHeader() {
if (this.keycloak) {
- return 'Bearer ' + security.keycloak.token;
+ return 'Bearer ' + this.keycloak.token;
} else {
return "Basic " + btoa(this.user + ":" + this.basicAuthPassword);
}