# Mostrar enlace al perfil de usuario desde un proveedor OAuth

**URL:** <https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636>\
**Category:** Feature\
**Created:** [7 Febrero, 2019 21:27 UTC](https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636 "2019-02-07T21:27:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kueda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kueda/32/130762_2.png) [@kueda](https://meta.discourse.org/u/kueda)\
**Post date:** [7 Febrero, 2019 21:27 UTC](https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636/1 "2019-02-07T21:27:53Z")

</div>

We’re experimenting with a custom OAuth provider for sign in, and one thing that would be really helpful is a link somewhere on the Discourse user profile page (e.g. [Profile - kueda - Discourse Meta](https://meta.discourse.org/u/kueda)) that shows

a) that the user connected their account to the OAuth provider and  
b) a URL to that user’s profile on the OAuth provider

This would be useful so our users can see the fact that a user on Discourse is the same as a user on our site. I was thinking that in addition to the `oauth2 json avatar path` setting you could support something like an `oauth2 json profile url path` and that would be the URL of the user’s profile on the OAuth provider. Might also be cool to have a setting we can specify the URL to the OAuth provider’s logo image that could be displayed next to the link (showing a logo on the “Sign in with provider” button would be helpful too).

Thoughts?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [8 Febrero, 2019 07:05 UTC](https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636/2 "2019-02-08T07:05:02Z")

</div>

Do we have anything like this @david?

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [8 Febrero, 2019 09:38 UTC](https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636/3 "2019-02-08T09:38:34Z")

</div>

We don’t, all auth information is kept private - only accessible to admins. This would have to be a plugin, or added to the oauth\_basic plugin as a new feature.

---

<div class="post-metadata">

**Author:** ![kueda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kueda/32/130762_2.png) [@kueda](https://meta.discourse.org/u/kueda)\
**Post date:** [8 Febrero, 2019 18:50 UTC](https://meta.discourse.org/t/display-link-to-user-profile-from-an-oauth-provider/108636/4 "2019-02-08T18:50:24Z")

</div>

Do plugins have the ability to change the content of user profile pages like [Profile - kueda - Discourse Meta](https://meta.discourse.org/u/kueda/summary), e.g. adding a URL, maybe with a logo or at least a favicon next to it? If not, implementing this would require a change to your plugin framework too, I imagine.

Also, this is the correct place to request features for the oauth\_basic plugin, right? I assumed so since you’re not supporting issues at [GitHub - discourse/discourse-oauth2-basic: A basic OAuth2 plugin for use with Discourse · GitHub](https://github.com/discourse/discourse-oauth2-basic)
