• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Synchronise XenForo User/Pass with Custom Login User/Pass?

#1
Is it possible, via PHP to syncronise a password change in both directions?
XenForo -> Custom Login,
Custom Login -> XenForo

So the username/password will always be the same for both?

I would like to know if it is possible (without breaking XenForo) to override the user login system.

Basically, we have a system for our game players to register / login, which runs standalone, and we would like to make it so they use the same account for both the forums, and in-game.

I know the first solution would be to make the in-game use xenforo's authentication, however we have over 30,000 users signed up, and passwords are not decryptable, so we cannot transfer users without making them all reset their password. (which we would like to avoid)

So is it possible to use a custom login handler, to check username/password combination, then force a login to xenforo for that username? (The accounts can be created XenForo side, so the internals would still be the same)
 
Last edited:

James

Well-known member
#3
XenForo already has the ability to use custom password algorithms to check a password. You could develop a new password auth that is based on your game's password hashing algorithm. Then you just need to deal with the creation of the accounts or write an import script to import them.