# \[Paid\] WP + Discourse user authentication for IRC or other chat

**URL:** <https://meta.discourse.org/t/paid-wp-discourse-user-authentication-for-irc-or-other-chat/61439>\
**Category:** Marketplace\
**Created:** [2017 年4 月 22 日 14:03 UTC](https://meta.discourse.org/t/paid-wp-discourse-user-authentication-for-irc-or-other-chat/61439 "2017-04-22T14:03:39Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
发布日期： [2017 年4 月 24 日 10:00 UTC](https://meta.discourse.org/t/paid-wp-discourse-user-authentication-for-irc-or-other-chat/61439/9 "2017-04-24T10:00:53Z")

</div>

> [@Bluer](#):
>
> For example in some websites users can set irckey in their account settings and then authenticate with a bot to get access: /msg Botname enter #channel username irckey

Replicating this seems like the most straightforward solution:

- Add a custom field to a user’s profile which can be accessed via the API, for the IRC key
  - You’d maybe want a plugin to ensure random keys are created

- Create an IRC bot, which queries the API, and if the key matches, invites the user to a private channel

---

_[View the full topic](https://meta.discourse.org/t/paid-wp-discourse-user-authentication-for-irc-or-other-chat/61439)._
