diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 734debb0..8d8d38d5 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -48,6 +48,7 @@ class Application extends App implements IBootstrap {
'show_labs_settings' => 'true',
'set_custom_permalink' => 'false',
'sso_immediate_redirect' => 'false',
+ 'sso_force_iframe' => 'false',
];
public function __construct(array $urlParams = []) {
diff --git a/lib/Controller/AppController.php b/lib/Controller/AppController.php
index 68a5e5d8..2a7794e0 100644
--- a/lib/Controller/AppController.php
+++ b/lib/Controller/AppController.php
@@ -59,6 +59,8 @@ public function index() {
$this->initialStateService->provideInitialState(Application::APP_ID, 'disable_custom_urls',
$this->config->getAppValue(Application::APP_ID, 'disable_custom_urls', Application::AvailableSettings['disable_custom_urls']));
+ $this->initialStateService->provideInitialState(Application::APP_ID, 'sso_force_iframe',
+ $this->config->getAppValue(Application::APP_ID, 'sso_force_iframe', Application::AvailableSettings['sso_force_iframe']));
$default_server_domain = $this->config->getAppValue(Application::APP_ID, 'base_url', Application::AvailableSettings['base_url']);
$csp = new ContentSecurityPolicy();
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue
index 529f38c7..e2923ca6 100644
--- a/src/components/AdminSettings.vue
+++ b/src/components/AdminSettings.vue
@@ -78,6 +78,18 @@
for="sso_immediate_redirect"
>{{ t('riotchat', 'Redirect immediately to SSO (requires SSO to be configured on the Matrix Homeserver)') }}
+
+
+