# Ability to connect with OAuth providers when user is registered?

**URL:** <https://meta.discourse.org/t/ability-to-connect-with-oauth-providers-when-user-is-registered/42457>\
**Category:** Feature\
**Created:** [12. April 2016 um 16:00 UTC](https://meta.discourse.org/t/ability-to-connect-with-oauth-providers-when-user-is-registered/42457 "2016-04-12T16:00:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)\
**Post date:** [12. April 2016 um 16:00 UTC](https://meta.discourse.org/t/ability-to-connect-with-oauth-providers-when-user-is-registered/42457/1 "2016-04-12T16:00:23Z")

</div>

Some OAuth2 providers don’t provide email thus user have to fill the form to login. After filling out the signup form, a new user will be created and connected with this provider.

But that situation hurts when a user have been registered, it can’t connect with this OAuth2 provider.

In particular, a customer comes to me for building a integration with an external service for Discourse. Therefore, I am willing to have a way to let user connect with a Oauth2 provider in the user settings as well as an endpoint.

In the user setting, a pile of login method buttons will be shown after the email section. Existing association can have different style or status information.

But even admin panel can only show official oauth providers information (whether user registered with google, facebook, twitter, yahoo, github). So a little extension to inject for plugin authors is also needed.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/e/aee3f8e699c1142f69e8136f281d6b95a3ef7b06.png)

This should be disabled by default.

---

_[View the full topic](https://meta.discourse.org/t/ability-to-connect-with-oauth-providers-when-user-is-registered/42457)._
