External User Validation
-
I want to use the access control features of s2member but I want to manage the creation of the user accounts myself. Here is why:
I’m porting my Genealogy Societies web site from Joomla to WP. We use another platform (Z2 Systems Neon) to manager our user accounts. They provide an API that can be used to verify if a given User ID and Password are valid.
I use this API in my current Joomla site to determine whether or not a user is a current member or not. If they are not, I want them to go to our Neon system (which is also used for a number of other functions, which is why I want to let it be the master source to validate users) to handle it (usually renew their membership).
I want to do the same thing using s2member and am looking for a little help to understand its login process so I can (hopefully) break into it and manage things my way.
Basically, when somebody enters a user ID and Password in s2member I want to trap the request, make the call to my Neon API and (if they are really a current member) create or update the record in my WP_Users table and then let things continue normally. If my API call indicates that they are not a valid member I want to delete or disable their record in the WP_Users table before letting things go on.
I am an OK PHP programmer – I wrote the Joomla plugin and got it working in that environment… I’m just looking for a little help understanding how the login flow goes here in s2member-land.
Thanks in advance!
- The topic ‘External User Validation’ is closed to new replies.