# External SSO provider login link

**URL:** <https://meta.discourse.org/t/external-sso-provider-login-link/48392>\
**Category:** SSO\
**Created:** [2016 年 8 月 9 日午前 11:30 UTC](https://meta.discourse.org/t/external-sso-provider-login-link/48392 "2016-08-09T11:30:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Dominic\_Hargreaves](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@Dominic\_Hargreaves](https://meta.discourse.org/u/Dominic_Hargreaves)\
**Post date:** [2016 年 8 月 9 日午前 11:30 UTC](https://meta.discourse.org/t/external-sso-provider-login-link/48392/1 "2016-08-09T11:30:56Z")

</div>

In order to improve the user experience when moving between our main site and discourse, we are considering detecting how the user has logged into our main site and customizing the link to the community site to initiate a login using the relevant SSO provider (Google and Github, so far).

I couldn’t find any evidence of a suitable URL which automatically triggers said login process. Is this feasible to add (or did I miss it already being there)?

Ideally it would recognise which identity was used at the original site and pass that along to prevent the account chooser from appearing (this applies to Google, but probably not Github) but that would be the icing on the cake.

Thanks!  
Dominic.

---

_[View the full topic](https://meta.discourse.org/t/external-sso-provider-login-link/48392)._
