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
- Provide basic authentication integration with Quix Cloud so publicly exposed services don’t require a separate login
19
+
* Provide basic authentication integration with Quix Cloud so publicly exposed services don’t require a separate login
20
20
21
21
## YAML configuration
22
22
@@ -34,17 +34,17 @@ plugin:
34
34
35
35
Notes
36
36
37
-
- plugin.embeddedView: boolean. true → FE renders embedded UI.
38
-
- plugin.sidebarItem: optional object configuring the Environment’s left sidebar item.
37
+
* plugin.embeddedView: boolean. true → FE renders embedded UI.
38
+
* plugin.sidebarItem: optional object configuring the Environment’s left sidebar item.
39
39
40
40
## Embedded view URL
41
41
42
42
When the plugin feature is enabled, the deployment exposes a public URL dedicated to the embedded UI. The Portal uses this URL to load the embedded view inside the iframe when `embeddedView` is enabled. This URL is not set in YAML; it’s exposed by the API.
43
43
44
44
Population rules:
45
45
46
-
-Managed service → Derived from Managed Services conventions.
47
-
-Non‑managed service → Requires `publicAccess` to be enabled; resolves from the deployment’s public URL.
46
+
* Managed service → Derived from Managed Services conventions.
47
+
* Non-managed service → Requires `publicAccess` to be enabled; resolves from the deployment’s public URL.
48
48
49
49
## Authentication and authorization
50
50
@@ -55,6 +55,61 @@ When an embedded view loads, the Plugin system injects the Quix user token into
55
55
56
56
On initial load of the embedded view (and on reload), the Portal provides the user token to the iframe so the UI can authenticate calls to the backend.
57
57
58
+
#### Frontend token exchange (postMessage)
59
+
60
+
The token is passed via `window.postMessage` between the parent (Portal) and the embedded iframe.
61
+
62
+
**Message types**
63
+
64
+
* `REQUEST_AUTH_TOKEN` — sent by the iframe to ask the parent for a token
65
+
* `AUTH_TOKEN` — sent by the parent with `{ token: string }`
0 commit comments