# Automatically login via SSO

**URL:** https://meta.discourse.org/t/automatically-login-via-sso/126195
**Category:** SSO
**Created:** [8월 19, 2019, 4:46오후 UTC](https://meta.discourse.org/t/automatically-login-via-sso/126195 "2019-08-19T16:46:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [8월 19, 2019, 5:39오후 UTC](https://meta.discourse.org/t/automatically-login-via-sso/126195/2 "2019-08-19T17:39:30Z")

</div>

> [@phallguy](#):
>
> In effect click the “Log In” button to initiate the SSO and return them back to Discourse where they were originally.

This can be done, but can cause issues logging into your SSO provider site if SSO is ever misconfigured. A safer approach is to add an SSO Login link to website that will automatically log users into Discourse and redirect them to a specified page when they click the link. See [Create a DiscourseConnect login link](https://meta.discourse.org/t/create-an-sso-login-link/109290) for details.

---

_[View the full topic](https://meta.discourse.org/t/automatically-login-via-sso/126195)._
