You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+171-4Lines changed: 171 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,6 @@ When running locally, set the `is_auth_disabled` flag to `true` in [local-config
21
21
22
22
If you want to test with Okta OAuth, set the `is_auth_disabled` flag to `false`, and fill in the `okta_client_secret` with the value under "Okta localhost deployment" in 1Password.
23
23
24
-
### Working on the UI
25
-
26
-
Per the above setup steps, the UI runs on `http://localhost:8089/`. To see your local UI changes reflected in the browser, you will need to hard reload (`Crtl+Shift+R`) while on the specific web page you have changed.
27
-
28
24
## V2 API
29
25
30
26
The v2 API is based on individual route provider classes. Each class should provide exactly one endpoint and must implement IRouteProvider or IBlockingRouteProvider.
@@ -36,3 +32,174 @@ The v2 API is based on individual route provider classes. Each class should prov
36
32
IRouteProvider requires a `getHandler` method, which should return a valid handler function - see `GetClientSideKeypairsBySite.java`. This method *must* be annotated with the Path, Method, and Roles annotations.
37
33
38
34
The route handler will automatically be wrapped by the Auth middleware based on the roles specified in the Roles annotation.
35
+
36
+
## Working on the UI
37
+
Per the above setup steps, the UI runs on `http://localhost:8089/`. To see your local UI changes reflected in the browser, you will need to hard reload (`Crtl+Shift+R`) while on the specific web page you have changed.
38
+
39
+
### Page setup
40
+
```html
41
+
<html>
42
+
<head>
43
+
<!-- We use Unicode symbols for icons so need UTF-8 -->
44
+
<metacharset="UTF-8">
45
+
<linkrel="stylesheet"href="/css/style.css">
46
+
</head>
47
+
<body>
48
+
49
+
<divclass="main-content">
50
+
<!-- Operations and controls will be added by `initializeOperations` here -->
51
+
<divclass="operations-container"></div>
52
+
53
+
<!-- Both success and error output will be added by `initializeOutput` here -->
54
+
<divclass="output-container"></div>
55
+
</div>
56
+
57
+
<scripttype="module">
58
+
document.addEventListener('DOMContentLoaded', function () {
0 commit comments