# Android webview automatic login

**URL:** https://meta.discourse.org/t/android-webview-automatic-login/57323
**Category:** Development
**Created:** [February 13, 2017, 6:24pm UTC](https://meta.discourse.org/t/android-webview-automatic-login/57323 "2017-02-13T18:24:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![furszy](https://avatars.discourse-cdn.com/v4/letter/f/59ef9b/32.png) [@furszy](https://meta.discourse.org/u/furszy)
#### Post date: [February 13, 2017, 6:24pm UTC](https://meta.discourse.org/t/android-webview-automatic-login/57323/1 "2017-02-13T18:24:12Z")

</div>

Hi,  
i’m using my java api to make topics, posts, get post and so on, and now i integrate a webview to go to the forum. so i have the username and password of the person and i need to login on the webview automatic.

Do you have some exaples for that?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 13, 2017, 7:02pm UTC](https://meta.discourse.org/t/android-webview-automatic-login/57323/2 "2017-02-13T19:02:41Z")

</div>

There are no examples short of the source code, you would have to handle CSRF and various anti spam measures we have that stop people from automating this.

---

<div class="post-metadata">

### Author: ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)
#### Post date: [April 6, 2019, 9:59pm UTC](https://meta.discourse.org/t/android-webview-automatic-login/57323/3 "2019-04-06T21:59:42Z")

</div>

Is this still not possible in an easy way?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 6, 2019, 10:08pm UTC](https://meta.discourse.org/t/android-webview-automatic-login/57323/4 "2019-04-06T22:08:24Z")

</div>

The new protocol allows for seamless delegated auth
