# Google Login not working on WebView app

**URL:** https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347
**Category:** Support
**Created:** [February 22, 2020, 1:52pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347 "2020-02-22T13:52:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 22, 2020, 1:52pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/1 "2020-02-22T13:52:13Z")

</div>

Google Login was working perfect for Discourse if we access it from any browser or from PWA. But if I try to use Google Login using WebView then it shows error.  
Can someone tell me what can be the issue or do I have to configure the Google login in any other way?

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [February 22, 2020, 3:51pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/2 "2020-02-22T15:51:38Z")

</div>

Take a screenshot of the error and share it here.

---

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 22, 2020, 3:53pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/3 "2020-02-22T15:53:04Z")

</div>

This is the error I am getting.

 ![IMG-20200222-WA0019~2](https://global.discourse-cdn.com/meta/original/3X/d/0/d06996a6924ab846a0870464d78fb96e12495095.jpeg)

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [February 22, 2020, 3:54pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/4 "2020-02-22T15:54:19Z")

</div>

Take a look at this.

> <https://stackoverflow.com/questions/40591090/403-error-thats-an-error-error-disallowed-useragent>

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 22, 2020, 9:31pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/5 "2020-02-22T21:31:06Z")

</div>

Consider using Chrome Custom Tabs instead, which will share the cookie jar and make login work fine.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 22, 2020, 9:52pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/6 "2020-02-22T21:52:26Z")

</div>

And you can even use our new setting `app association android` to make the Chrome Custom Tab full screen.

---

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 23, 2020, 5:42pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/7 "2020-02-23T17:42:57Z")

</div>

@Falco @riking thank you for telling me about Chrome Custom Tabs. To be honest I never heard about this before your comments and after your comments I searched a lot about this. Although it’s a good concept but I could not find any simple tutorial to make it work.  
There are Webview apps available on Themeforest but nothing such is available for Chrome Custom Tabs. Can you tell me a pre-made Chrome Custom Tabs where I can make the changes to make it work for my website and then I can launch it?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 29, 2024, 6:10pm UTC](https://meta.discourse.org/t/google-login-not-working-on-webview-app/142347/8 "2024-01-29T18:10:57Z")

</div>


