diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5a56e49193..3c4380170a 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -23,21 +23,22 @@
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true">
+
+
-
+
-
@@ -50,25 +51,31 @@
android:scheme="https" />
+
+
+
+
+
+
+
+
@@ -118,6 +127,7 @@
+
{
+ delay(3, TimeUnit.SECONDS)
+ client.loginWithSaml(credentialToken)
+ }
TYPE_LOGIN_OAUTH -> {
client.loginWithOauth(credentialToken, credentialSecret)
}
@@ -319,7 +346,7 @@ class LoginPresenter @Inject constructor(
}
}
else -> {
- throw IllegalStateException("Expected TYPE_LOGIN_USER_EMAIL, TYPE_LOGIN_CAS, TYPE_LOGIN_OAUTH or TYPE_LOGIN_DEEP_LINK")
+ throw IllegalStateException("Expected TYPE_LOGIN_USER_EMAIL, TYPE_LOGIN_CAS,TYPE_LOGIN_SAML, TYPE_LOGIN_OAUTH or TYPE_LOGIN_DEEP_LINK")
}
}
}
@@ -365,6 +392,18 @@ class LoginPresenter @Inject constructor(
}.toString()
}
+ private fun getSamlServices(listMap: List