-1

I'm trying to use the User Authentication API module. My goal is to add some post-processing after successful Drupal 7 login that posts JSON to an external web service. This would be work very similar to the Webform Remote Post module, but for the login page.

My problem is that even though the module is installed fine, and things look good on the page which displays detected plugins, nothing seems to fire at login. What do I need to add to see this plugin framework interact with a user login event?

This screenshot shows I have all the pieces in place.

screenshot

0

The User Authentication API only provides an API. It doesn't provide any authentication class that can be used to really authenticate users.

What the screenshot in the question shows are the classes used by the tests implemented by the module, whose purpose is only testing the module works correctly.

You need to find a module that uses the User Authentication API module, or a totally different module, that doesn't what you trying to do.

4
  • Drupal does a fine job of authenticating people already. I merely want to intercept the login/pass, encrypt it, and send it off to an ASP.net webservice so that when users authenticate in Drupal, they simultaneously authenticate elsewhere. Is that not what this module attempts to help me with?
    – Seth M
    Oct 14 at 17:38
  • It helps writing a module for authenticating users, but it doesn't send data to an external server after users are authenticated, as that is behind authenticating users.
    – apaderno
    Oct 14 at 17:42
  • If it will help me get the non-encrypted value of the password as submitted by the user, I can handle the rest. My sites/all/custom/module (containing the test plugins) is detected, how do I see some indication in watchdog (or anywhere) upon user login.
    – Seth M
    Oct 14 at 17:49
  • I need to grab the unhashed password at login. Looks like you've helped people grab the password during registration here... drupal.stackexchange.com/questions/53855/…
    – Seth M
    Oct 14 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.