AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

How to connect AuthMe to XenForo2.0?

Open DarkShyMW opened this issue 6 years ago • 25 comments

Hello guys, how i can connect my AuthMe to XenForo2.0? Please i realy needed at it! Sorry for my eng

DarkShyMW avatar Jan 07 '18 18:01 DarkShyMW

Guys?

DarkShyMW avatar Jan 14 '18 10:01 DarkShyMW

I'm sorry, I've kind of given up on it because it's closed source and no one has ever provided enough details for an integration. I know @sgdc3 worked on it in the last version so maybe he can offer an outlook for this.

ljacqu avatar Jan 19 '18 21:01 ljacqu

@ljacqu we should write a wiki page about integrating with cms, now i don't remember the exact steps to reproduce a working integration

sgdc3 avatar Jan 20 '18 01:01 sgdc3

Dear guys, please, I really need it

DarkShyMW avatar Jan 20 '18 07:01 DarkShyMW

@sgdc3 Do you mean something like https://github.com/AuthMe/AuthMeReloaded/wiki/Forum-integrations ? I think @KipperedSnack promised in #957 (which we should close, by the way, and create a follow-up issue if necessary) to deliver a working config at some point

ljacqu avatar Jan 20 '18 10:01 ljacqu

@sgdc3 maybe you add this function to new version? Please:sparkles:

DarkShyMW avatar Jan 21 '18 19:01 DarkShyMW

@DarkShyMW It is already there, we just don't remember/know how to setup it properly

sgdc3 avatar Jan 21 '18 21:01 sgdc3

@sgdc3 may be Dev xf can help you? I wrote, but they say, that can help only developers.

DarkShyMW avatar Jan 24 '18 20:01 DarkShyMW

May be anything changed?

DarkShyMW avatar Feb 25 '18 13:02 DarkShyMW

@ljacqu i think we could try asking for some documentation

sgdc3 avatar Feb 25 '18 18:02 sgdc3

That wouldn‘t hurt :)

ljacqu avatar Feb 25 '18 19:02 ljacqu

@sgdc3 maybe you should try an external authorization? as here: https://github.com/DarkShyMW/Launcher/blob/master/compat/auth/xenforo.php

DarkShyMW avatar Feb 25 '18 19:02 DarkShyMW

@sgdc3 but update code, because it so old

DarkShyMW avatar Feb 25 '18 19:02 DarkShyMW

We accept pull requests ;)

ljacqu avatar Feb 25 '18 19:02 ljacqu

So it does work. And for the record nothing has changed in XenForo 2.0.

However the current code for AuthMe needs altered a little if I recall or at the bare minimum some database triggers need to be setup.

There are some updates that need to be set etc.

I would spend some time on updating a fork however XenForo is pretty dated software. Even with 2.0.

I currently use NodeBB, and my own plugin for authentication/registration, group and rank sync.

I will however, take a stab at at least outlining the basic steps in the how-to somewhere.

Give me the weekend to finish some IRL work, and I will post this upcoming week.

ghost avatar Feb 25 '18 19:02 ghost

@KipperedSnack You are awesome :D

sgdc3 avatar Feb 25 '18 22:02 sgdc3

Hi @KipperedSnack, any update on the Xenforo front? :)

ljacqu avatar Mar 24 '18 11:03 ljacqu

@KipperedSnack Is there any news?

SpaicyGaming avatar May 08 '18 14:05 SpaicyGaming

Didn't they add a whole new version of XF that changed the auth tables?

ghost avatar May 08 '18 16:05 ghost

@KipperedSnack I don't remember how XF 1 auth table was. This is xenforo 2 user authentication table:

mysql> DESCRIBE xf_user_authenticate;
+--------------+------------------+------+-----+---------+-------+
| Field        | Type             | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+-------+
| user_id      | int(10) unsigned | NO   | PRI | NULL    |       |
| scheme_class | varchar(100)     | NO   |     | NULL    |       |
| data         | mediumblob       | NO   |     | NULL    |       |
+--------------+------------------+------+-----+---------+-------+
mysql> SELECT * FROM xf_user_authenticate;
+---------+--------------+---------------------------------------------------------------------------------------+
| user_id | scheme_class | data                                                                                  |
+---------+--------------+---------------------------------------------------------------------------------------+
|       1 | XF:Core12    | a:1:{s:4:"hash";s:60:"$2a$10$PJQnBGPkXgXRGNjqFMpJieHqCFEpUdNTHFO2HBdA37pegcsl5tGYa";} |
+---------+--------------+---------------------------------------------------------------------------------------+

SpaicyGaming avatar May 09 '18 13:05 SpaicyGaming

There's actually 3 tables you will need if it's anything like XF 1.x. XF authentication isn't isolated to the table you describe above. You will need 2 triggers minimum, and a small re-compile of the AuthMe code to account for better selections based on these before mentioned changes.

I guess I can install XF 2.0, but I don't have a license.

ghost avatar May 09 '18 17:05 ghost

how to config xenforo 2.0 with authme Xenforo 2.0 using two table xf_user xf_user_authenticate Please add update with new version xenforo :) Thanks all

hlong1909 avatar Nov 29 '18 17:11 hlong1909

and how? please help.

DarkShyMW avatar May 11 '19 09:05 DarkShyMW

Help please! My players can register in Minecraft and login in Xenforo but changing password in minecraft or in xenforo don't working. What I need to doing?

TheSirCororo avatar Nov 22 '21 19:11 TheSirCororo

Help please! My players can register in Minecraft and login in Xenforo but changing password in minecraft or in xenforo don't working. What I need to doing?

our players*

1Pootis1 avatar Nov 24 '21 16:11 1Pootis1