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: apps/chat/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,8 +107,9 @@ DIAL Chat uses environment variables for configuration. All environment variable
107
107
|`DIAL_API_VERSION`| No | DIAL API Version | Any string |`2025-01-01-preview`|
108
108
|`APP_BASE_PATH`| No | The root directory in the file system where the application is located | Any string ||
109
109
|`APP_BASE_ORIGIN`| Optional | A base URL or origin of the application.<br />Required if `APP_BASE_PATH` is set. | Any string ||
110
-
|`ALLOWED_IFRAME_ORIGINS`| No | Specifies all URLs that are allowed to embed DIAL Chat within an iframe.<br />Necessary for [DIAL Overlay](../../libs/overlay/README.md). | Any origin valid format. List of space separated URLs. |`none`|
111
-
|`ALLOWED_IFRAME_SOURCES`| No | iFrame sources (e.g. [visualizers](https://github.com/epam/ai-dial-chat/blob/development/libs/chat-visualizer-connector/README.md)) that are allowed to load content into an iframe in the DIAL Chat application | Any valid source format. List of space separated sources. |`none`|
110
+
|`ALLOWED_IFRAME_ORIGINS`| No | Specifies all URLs that are allowed to embed DIAL Chat within an iframe.<br />Necessary for [DIAL Overlay](../../libs/overlay/README.md). (`frame-ancestors` directive of Content Security Policy (CSP)) | Any origin valid format. List of space separated URLs. |`none`|
111
+
|`ALLOWED_IFRAME_SOURCES`| No | iFrame sources (e.g. [visualizers](https://github.com/epam/ai-dial-chat/blob/development/libs/chat-visualizer-connector/README.md)) that are allowed to load content into an iframe in the DIAL Chat application (`frame-src` directive of Content Security Policy (CSP)) | Any valid source format. List of space separated sources. |`none`|
112
+
|`ALLOWED_SCRIPT_SOURCES`| No | Specifies `script-src` directive of Content Security Policy (CSP) : define from where scripts can be executed | Any origin valid format. List of space separated URLs. |`'self' ALLOWED_IFRAME_ORIGINS ALLOWED_IFRAME_SOURCES`|
112
113
|`IS_IFRAME`| No | Is iFrame flag enables/disables the [DIAL Overlay](../../libs/overlay/README.md)|`true`, `false`|`false`|
113
114
|`ALLOW_OPEN_SIGNIN_PAGE_IN_IFRAME`| No | This is the iFrame flag for the [DIAL Overlay](../../libs/overlay/README.md) enables the Sign-In page to render within an iFrame. Activating this flag disables the `X-Frame-Options: SAMEORIGIN` header and enforces the `frame-ancestors` directive using the URLs specified in the `ALLOWED_IFRAME_ORIGINS` variable. |`true`, `false`|`false`|
114
115
|`ENABLED_FEATURES`| No | Features enabled in the DIAL Chat application. [See details](/docs/ENABLED_FEATURES_ROLES.md)| Refer to [Features](../../libs/shared/src/types/features.ts) to view all the available features. ||
0 commit comments