# How to auto-login user in application web view

**URL:** https://meta.discourse.org/t/how-to-auto-login-user-in-application-web-view/193879
**Category:** SSO
**Created:** [June 15, 2021, 10:44am UTC](https://meta.discourse.org/t/how-to-auto-login-user-in-application-web-view/193879 "2021-06-15T10:44:02Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [June 15, 2021, 1:44pm UTC](https://meta.discourse.org/t/how-to-auto-login-user-in-application-web-view/193879/2 "2021-06-15T13:44:49Z")

</div>

You want to read [DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045).

By using that and flipping `login required` to enabled, as soon as the user opens your webview he will be redirected to a URL of your choosing to start the authentication flow. If you make that seamless the user will be magically logged on Discourse moments later.

---

_[View the full topic](https://meta.discourse.org/t/how-to-auto-login-user-in-application-web-view/193879)._
