# 使用联邦社交网络登录

**URL:** <https://meta.discourse.org/t/login-with-federated-social-networks/85586>\
**Category:** Support\
**Created:** [2018年四月14日 09:24 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586 "2018-04-14T09:24:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)\
**Post date:** [2018年四月14日 09:24 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586/1 "2018-04-14T09:24:52Z")

</div>

Using Font Awesome for the icons to social services works great for commercial services, since most if not all of the prominent ones have their icons there. However, those of us using free / open source social services are (I think) less lucky.

Any suggestions about how to add icons for e.g. Riot.im / Matrix, Mastodon, GNUSocial, Diaspora, IRC…?

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2018年四月17日 23:04 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586/2 "2018-04-17T23:04:05Z")

</div>

> [@icaria36](#):
>
> Riot.im / Matrix, Mastodon, GNUSocial, Diaspora

That’s gonna be a bit weird. Discourse only has space for a single OAuth application in the admin settings, and the login flow isn’t expecting to need you to type in a domain name, either.

You could use OAuth Basic support to add a single server, but again that’s kinda weird to require people to have an account on a single specific server to log in.

And let’s not get into problems with domains expiring, servers shutting down and how do I migrate all these logins?

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/2/5217bca61d527fcf7d523b5ed18c7c16283876a4.jpg)

> [@icaria36](#):
>
> IRC

Exactly what identity are you trying to prove here…? NickServ registrations expire after ~90 days. The email usually isn’t verified or even available to other users.  
You can prove identity over IRC, and I’ve done it before, but I see absolutely no reason for Discourse to implement or support that. (And even then, it was with considerably stronger identity guarantees - Twitch IRC.)

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2018年四月17日 23:11 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586/3 "2018-04-17T23:11:47Z")

</div>

Oh and let’s not forget the problems where the server owner can set up the software to lie and claim it’s someone else’s email.

Set up your own instance, edit the database so that `mister@somewhere.com` has an account, and just log in with that…

edit the database again and set your email to `no_email` and log in as @system…

---

<div class="post-metadata">

**Author:** ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)\
**Post date:** [2018年四月18日 06:31 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586/4 "2018-04-18T06:31:22Z")

</div>

In my post I was referring to links to social media accounts, not to social logins. My post belongs to [Brand Header](https://meta.discourse.org/t/brand-header-theme-component/77977). Can you move it back there, please?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2020年八月31日 11:52 UTC](https://meta.discourse.org/t/login-with-federated-social-networks/85586/5 "2020-08-31T11:52:07Z")

</div>


