Hello
I'm updating an Android mobile app's login page. I'm using Android Studio in Java. Specifically, in Android Studio I am using a WebView to load the login landing page as seen here (for privacy i'm blurring out our institution):

When a user tries to enter a personal gmail account, a fake email, or username that is not in our database, I let Blackbaud handle the authentication part which prompts the user that the credentials are not valid as seen here:

But when I try with a valid user, such as mine, I get the following:

In the code behind I am using the WebView object to load the login site; https://"institutename".muschoolapp.com/app/sso/"unique sso name".
The load looks like this:
CookieManager cookieManager = CookieManager.getInstance();
cookieManager.setAcceptCookie(true);
String userAgent = "Mozilla/5.0 (Linux; Android 4.1.1; Galaxy Nexus Build/JRO03C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Mobile Safari/535.19";
//Set WebView
WebView webView =(WebView)findViewById(R.id.webView);
webView.setWebViewClient(new WebViewClient());
webView.getSettings().setUserAgentString(userAgent);
//Set WebSettings
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);//enable JS for webpage can display BB login
webSettings.setAppCacheEnabled(true);//setting cache?
webSettings.setJavaScriptCanOpenWindowsAutomatically(true);//open another window if necessary
webSettings.setSupportMultipleWindows(true);//multiple windows? should this be set
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
webView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
}
//
webView.loadUrl("https://"institutename".muschoolapp.com/app/sso/"unique sso name"");
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
LocalBroadcastManager.getInstance(getApplicationContext())
.registerReceiver(loginBroadcastReceiver,
new IntentFilter(LoginHelper.LOGIN_MESSAGE));
}
My question is am i missing something to enable Google authentication? Has anyone ran into this issue and solved? I thought it could have been the User Agent identifier but that doesn't seem to solve.
Thanks