Add OAuth support to odlux
[ccsdk/features.git] / sdnr / wt / odlux / apps / configurationApp / src / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3
4 <head>
5   <meta charset="UTF-8">
6   <meta name="viewport" content="width=device-width, initial-scale=1.0">
7   <meta http-equiv="X-UA-Compatible" content="ie=edge">
8   <!-- <link rel="stylesheet" href="./vendor.css"> -->
9   <title>Configuration App</title>
10 </head>
11
12 <body>
13   <div id="app"></div>
14   <script type="text/javascript" src="./require.js"></script>
15   <script type="text/javascript" src="./config.js"></script>
16   <script>
17     // run the application
18       require(["app", "connectApp", "maintenanceApp", "configurationApp"], function (app, connectApp, maintenanceApp, configurationApp) {
19         connectApp.register();
20         configurationApp.register();
21         maintenanceApp.register();
22         app("./app.tsx").configureApplication({ authentication:"oauth",  enablePolicy:  true,});
23         app("./app.tsx").runApplication();
24       });
25   </script>
26 </body>
27
28 </html>