Jump to content


Enhance Smooth single sign-on


1 reply to this topic

#1 Pennywise83

    Rookie

  • Active Member
  • 1 posts

Posted 05 November 2011 - 04:03 PM

Hi,
I'm trying your awesome plugin and I'd like to enhance the Smooth Single Sign-on experience.

This is my situation:
1) I have a board account but not a wordpress account
2) I log in to the board
3) Automatically I log in to Wordpress

Actually if I log in to the board i'm not logged into wordpress, but I need to log-in with the WP login page.

Looking at your widget I've discovered that class

$GLOBALS['ipbwi']->member

Is there a function to create the wordpress user?

I could accomplish to my result with a code like that:

if($GLOBALS['ipbwi']->member->isLoggedIn()){
$GLOBALS['ipbwi']->member->?CREATE_WP_USER($GLOBALS['ipbwi']->member->myInfo['email'];)?
}

#2 Matthias Reuter

    Forensklave

  • Admin
  • PipPipPipPipPipPipPipPip
  • 9234 posts
  • Gender:Male
  • Location:Hamburg / Germany

Posted 05 November 2011 - 06:42 PM

The enhancement you have described (auto account creation when there is only a account in one of both systems) is on my todolist for final version. it's not trivial, but I'll make that possible.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users