Quote from: OpenGeek at Dec 26, 2005, 02:58 PM
Quote from: xwisdom at Dec 26, 2005, 02:45 PM
The problem here is what if the user was exported from MODx? IMO SMF will not know the password or be able to apply sha1
If we were trying to synchronize users, that would absolutely be a problem. What we really want to do is aggregate users though, not synchronize them between both repositories. We want to be able to get profile data from either place, MODx or SMF, making sure we don’t have duplicate usernames/email addresses, and being able to authenticate against either repository. This aggregation model will work much better and more efficiently than trying to syncronize user repositories with SMF or any other third party product.
That’s going to be a little tricky. You see MODx requires a user id to be assigned to Roles and Access profiles.
If SMF (or some other) is used as the primary user information source a link table will have to be maintained. Now what happens when another application wants to use MODx as it’s primary user source? Where will it get the user information from?
[Third Party App] <extends> [MODx Users] <extends> [SMF users]
or
[SMF users]
[Third Party App] <extends> [MODx Users]
This is indeed the ideal but requires major changes to the core system.
IMO it’s best to make MODx the user source and have other system authenticate against MODx user base or have MODx authenticate against other system will maintaining user information separately.