开发者

Wordpress and Drupal SSO/Single Sign On

开发者 https://www.devze.com 2023-04-12 09:37 出处:网络
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'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?


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


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 ;)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号