Authmereloaded: How to connect AuthMe to XenForo2.0?

Created on 7 Jan 2018  路  23Comments  路  Source: AuthMe/AuthMeReloaded

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

cms integration question help wanted

Most helpful comment

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.

All 23 comments

Guys?

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 we should write a wiki page about integrating with cms, now i don't remember the exact steps to reproduce a working integration

Dear guys, please, I really need it

@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

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

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

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

May be anything changed?

@ljacqu i think we could try asking for some documentation

That wouldn鈥榯 hurt :)

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

@sgdc3 but update code, because it so old

We accept pull requests ;)

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.

@KipperedSnack You are awesome :D

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

@KipperedSnack Is there any news?

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

@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";} |
+---------+--------------+---------------------------------------------------------------------------------------+

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.

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

and how? please help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ITZVGcGPmO picture ITZVGcGPmO  路  3Comments

Ahryzth picture Ahryzth  路  8Comments

PlaxCraft picture PlaxCraft  路  7Comments

ProblemsSender picture ProblemsSender  路  6Comments

netherstar picture netherstar  路  5Comments