You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
I'd like to (safely) authenticate certain Freenode users against a web service by having them provide a token to a bot through Freenode.
I'd only like to authenticate users that are logged into a nickserv account.
Harder way involves activating identify-msg, extended-join and account-notify, then using WHOX with the a and n fields, keeping track of accounts, and only allowing PRIVMSG from a user that's in a known channel that my bot is also a member of. I'm sure I'm missing a race condition somewhere.
Easy way to do this would be to activate the account-tag capability in my bot, then have the users PRIVMSG my bot with the token generated by the web service.
In this case, there would be no need for the bot to join any channels or to keep track of the user's account; if the Freenode message includes both the correct account and the token generated by my web service, the bot can tell the web service authentication has succeeded.
Would it be feasible to complement identify-msg with account-tag?
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to (safely) authenticate certain Freenode users against a web service by having them provide a token to a bot through Freenode.
I'd only like to authenticate users that are logged into a nickserv account.
Harder way involves activating
identify-msg
,extended-join
andaccount-notify
, then usingWHOX
with thea
andn
fields, keeping track of accounts, and only allowingPRIVMSG
from a user that's in a known channel that my bot is also a member of. I'm sure I'm missing a race condition somewhere.Easy way to do this would be to activate the
account-tag
capability in my bot, then have the usersPRIVMSG
my bot with the token generated by the web service.In this case, there would be no need for the bot to join any channels or to keep track of the user's account; if the Freenode message includes both the correct account and the token generated by my web service, the bot can tell the web service authentication has succeeded.
Would it be feasible to complement
identify-msg
withaccount-tag
?The text was updated successfully, but these errors were encountered: