Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Nick registration via Web/Facebook/Twitter  (Read 778 times)

0 Members and 1 Guest are viewing this topic.

Ivan

  • Anope User
  • Offline Offline
  • Posts: 11
Nick registration via Web/Facebook/Twitter
« on: November 23, 2016, 03:00:01 PM »

Is there a way to provide nick registration via web or Facebook/Twitter integration?

We provided to our users explanation similar to this: https://wiki.mibbit.com/index.php/Create_your_own_nickname

To follow the instructions, common users would need to have two browser windows opened at the same time (one for instructions, other for web based IRC client) and it seems that's not easy task for them.

So were thinking of some simpler approach, using some web form.

Please advise.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 460
Re: Nick registration via Web/Facebook/Twitter
« Reply #1 on: November 23, 2016, 03:28:18 PM »

http://wiki.anope.org/index.php/2.0/Modules/m_sql_authentication will allow you to authenticate users against an external SQL database.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Nick registration via Web/Facebook/Twitter
« Reply #2 on: November 23, 2016, 03:58:16 PM »

I thought somebody wrote web form module already, working with existing Anope mysql database.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Nick registration via Web/Facebook/Twitter
« Reply #3 on: November 24, 2016, 10:47:21 AM »

When using m_sql_authentication module, does Anope authenticate users from both anope_db_NickCore table and external database or from external database only?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 460
Re: Nick registration via Web/Facebook/Twitter
« Reply #4 on: November 24, 2016, 02:42:17 PM »

m_sql_authentication authenticates people against an external database. The encryption mods (enc_*) authenticate people against the password stored on their account. So it depends on whether you load just one of those or both or none.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Nick registration via Web/Facebook/Twitter
« Reply #5 on: November 24, 2016, 07:32:33 PM »

So these are the steps:

1) Create simple PHP script for nick registration on the web, updating new table called e.g. 'web_nicks', having user/password combination

2) Enable m_sql_authentication module querying 'web_nicks' table

3) When authenticating users, Anope will check both anope_db_NickCore table + web_nicks table

Is this correct?
Logged
Pages: [1]   Go Up