title: GitHub authorize button doesn't work inside WebView
body: <p>I wanna provide a custom browser inside app to the user could pass authorization on <strong>GitHub.com</strong>. But <strong>Authorize</strong> button is disabled in <code>WebView</code>.<br>
  <a href="https://i.stack.imgur.com/Peaqwm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Peaqwm.png" alt="Screenshot"></a>  </p>
  
  <p>I set recommended flags from other questions on <strong>stackoverflow</strong> but it didn't help. There is my <code>ViewModel</code> below where you can see flags and clients that I set for <code>WebView</code>:  </p>
  
  <pre><code>class LoginViewModel : ViewModel() {
  
      var url: ObservableField&lt;String&gt; = ObservableField()
  
      var isLoading: ObservableBoolean = ObservableBoolean()
  
      val webViewClient: WebViewClient = object : WebViewClient() {
  
          override fun shouldOverrideUrlLoading(view: WebView?, url: String?): Boolean {
              view?.loadUrl(url)
              return true
          }
  
          override fun onReceivedError(
              view: WebView, request: WebResourceRequest,
              error: WebResourceError
          ) {
              super.onReceivedError(view, request, error)
              isLoading.set(false)
          }
  
          override fun onPageFinished(view: WebView, url: String) {
              super.onPageFinished(view, url)
              isLoading.set(false)
          }
      }
  
      val webChromeClient: WebChromeClient = WebChromeClient()
  
      val webViewConfig: IWebViewConfig = object : IWebViewConfig {
  
          override fun onConfig(webView: WebView) {
              webView.settings.domStorageEnabled = true
              webView.settings.databaseEnabled = true
              webView.settings.javaScriptEnabled = true
              webView.settings.loadWithOverviewMode = true
              webView.settings.useWideViewPort = true
              webView.settings.allowContentAccess = true
              webView.settings.allowFileAccess = true
              webView.settings.allowFileAccessFromFileURLs = true
              webView.settings.allowUniversalAccessFromFileURLs = true
              webView.settings.userAgentString = "Android"
          }
  
      }
  
      fun onRefresh() {
          isLoading.set(true)
          url.notifyChange()
      }
  }
  </code></pre>
  
  <p><strong>Where can the problem be?</strong></p>