Forum Replies Created

Viewing 1 replies (of 1 total)
  • For this plugin to actually work I had to do the following modifications:
    – $_REQUEST[‘redirect_to’] seems to be empty when plugin tries to set the ReturnTo argument for function at line 98. So i changed that line to:
    $as->requireAuth(array('ReturnTo'=> get_option("siteurl")."/wp-admin")); # $_REQUEST['redirect_to']));

    – at this point the login was working for users which already existed in WP db. But when the user does not yet exists this plugin tries to manually add the new user. The problem is that $attributes['email'] is empty. So I did a var_dump on $attributes and found the right email field which is $attributes['mail'][0].

    – add return new WP_User($wp_uid) at the end of “// auto-registration is enabled” if clause

    We are using WP 3.0.5 and SimpleSAML 1.6.2

Viewing 1 replies (of 1 total)