How to auto-login user in application web view

You want to read DiscourseConnect - Official Single-Sign-On for Discourse (sso).

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.

1 Like