performance - How to authenticate against Django from Drupal? -


i have medium sized drupal 6 site running (around 5 million page views per month , more 30k registered users) , need integrate osqa, django application, it. have many users, roles , permissions in drupal database , i'd point django app use sign , login pages have in drupal give users single point on entrance.

i want keep django authentication part because think osqa work better. have performance reasons in mind, drupal site gets lot of traffic , has busy database , think using separate database django help.

after research think make drupal sign , login pages call django in background sign or login django app. plan writing couple of views in django, 1 sign , login, , drupal post username , password views. of course i'd need disable csrf in django views , post secret key drupal , django applications know avoid external sites trying use "unprotected" django views.

i know django application may need user data drupal @ points , i'm planning on using drupal services module that.

would approach? suggestions?

thanks lot!

are there plugins osqa expose authentication service drupal can talk to? (openid or similar).

alternatively, check out drupal's ldap_integration module example of module uses external authentication service. consider need create drupal user accounts each login.

finally, why not build essential parts of osqa's functionality drupal? seems key functionality replicated quite using taxonomy, vote , userpoints/user badges... potentially easier shared authentication, on large site.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -