I have a drupal 6 website and I would like to implement the functionality to allow user of a particular user role to login into site using the token value in the url.

I have user role "SAP" in the website and will send a link to user in mail "www.example.com/user/token". When user click on this link, I want allow user to login into site automatically.

I have searched through into google and drupal site but I did not find any solution.

Thanks in advance.

1 Answer 1


urllogin module provides a way to transparently log users into the web site when they follow a link.

Give the “login via URL” permission to users who are allowed to log in with this module.

Alternatively you can try this module also

Easy Login allows the admin to give a permission to users so they are able to log in via an url.

Hope it will match your requirement !!

  • Thanks for your quick reply. I will check this. Do you have any idea about token authentication module? I was checking this but could not configure this properly. Commented May 16, 2013 at 6:40
  • Sorry no idea !!
    – Bala
    Commented May 16, 2013 at 6:47
  • Ok. No problem. I have checked urllogin project page in drupal and its suggest that we need to use "Token authentication" for the e-commerce site and I need login from url for the e-commerce functionality. Commented May 16, 2013 at 6:53
  • Where it mentioned i can't see it, it only mentioned 'For accessing RSS feeds' use Token authentication
    – Bala
    Commented May 16, 2013 at 7:00
  • Check this ----- If the site contains highly sensitive material or e-commerce, then probably neither module should be used, but a careful use of Token Authentication for a limited part of the site might be possible
    – Bala
    Commented May 16, 2013 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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