diff --git a/public/styles/style.css b/public/styles/style.css
index 1e571a3c..697f5fde 100644
--- a/public/styles/style.css
+++ b/public/styles/style.css
@@ -803,6 +803,21 @@ NoMeshesPanel img {
background-color:#44F;
}
+.userAuthStrategyLogo {
+ text-align:center;
+ position:absolute;
+ right:20px;
+ top:140px;
+ width:64px;
+ height:64px;
+ color:#FFF;
+ padding:2px;
+ background-color:#FFF;
+ border-radius:20px;
+ box-shadow: 2px 2px 10px black;
+ z-index:1;
+}
+
#xdevices {
max-height: calc(100vh - 242px);
overflow-y: auto;
diff --git a/sample-config.json b/sample-config.json
index a954f780..9605c233 100644
--- a/sample-config.json
+++ b/sample-config.json
@@ -157,6 +157,29 @@
"_maxRecordingSizeMegabytes": 3,
"__protocols__": "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection",
"protocols": [ 1, 2, 101 ]
+ },
+ "_authStrategies": {
+ "__comment__" : "This section is used to allow users to login using other accounts. You will need to get an API key from the services and register callback URL's",
+ "twitter": {
+ "__callbackurl": "https://server/auth-twitter-callback",
+ "apikey": "xxxxxxxxxxxxxxxxxxxxxxx",
+ "apisecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ },
+ "google": {
+ "__callbackurl": "https://server/auth-google-callback",
+ "clientid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
+ "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxx"
+ },
+ "github": {
+ "__callbackurl": "https://server/auth-github-callback",
+ "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
+ "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ },
+ "reddit": {
+ "__callbackurl": "https://server/auth-reddit-callback",
+ "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
+ "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ }
}
},
"_customer1": {
diff --git a/views/default.handlebars b/views/default.handlebars
index d26b59d0..c4f32683 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -885,7 +885,8 @@
|
-
+ |
+
|