すでにあるPHPのサイトからSSOでWordpressにもログインさせる方法

Posted by Viruke on 2月 12, 2010 in CakePHP, Wordpress |

自分の会員制のサイトで利用者にブログを提供できるオプショナルサービスを考えていてSSO(Single Sign On)をどうしたものかと思い調べてみました。

すでにあるPHPのサイトからSSOでWordpressにもログインさせる方法として、以下のサイトのコードが流用できそうなのでブックマーク。。。

In my setup, the main site has role-based permissions and the WordPress setup only has one account for each role (i.e. admin, editor, user etc…). The plugin first checks the role of the user logged in to the main site and then simulates a WordPress login anytime the user navigates to the blog. You should be able to customize this method for your own needs.

引用元: WordPress Auto-Login | Leon’s Weblog.

まぁ~、うちのサイトではまだまだ対応はあとになるだろうけど・・・

タグ: , ,

Reply

Powered by WP Hashcash

Copyright © 2010 無限なる開発ブログ All rights reserved. Theme by Laptop Geek.