Wordpress and Drupal SSO/Single Sign On

こ雲淡風輕ζ 提交于 2019-12-12 17:23:46

问题


I've made my front end website in Wordpress and this is fine for me, i want to create the member/staff area in Drupal as it has more functionality with Google docs and Mediawiki.

I was wondering if its possible for me to share logins between both sites, so if i register a user on wordpress, they will be able to login on the Drupal site aswell?


回答1:


OpenId would be a way to do it , other than that it should be possible to write a function to retrieve the Wordpress users info from the database and create corresponding users in Drupal. The function would then be called whenever a new user is created. Both platforms are well documented, so it shouldn't be too difficult to work out.

Now, I know you made your point clear about using both Wordpress & Drupal , but it does sound a bit like overkill knowing that whatever you can do in Wordpress should easily be possible in Drupal... but I digress ;)




回答2:


You can use saml as your solution for single sign on and provisioning. Is standard and many companies uses it.

Check simplesamlphp , an open source software with good documentation, active project and nice comunity.

Exists plugins to easy add saml support to Mediawiki, Drupal and Wordpress.

Also google has saml support and simplesaml let easy handler it




回答3:


You can check out modules that can allow you to do so. For example, I found this Drupal OAuth Login module and this OAuth Server plugin in WordPress that helped me with my use case.



来源:https://stackoverflow.com/questions/7725071/wordpress-and-drupal-sso-single-sign-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!