WordPress.org

Ready to get started?Download WordPress

Forums

Mozilla Persona (BrowserID)
[resolved] [Plugin: Mozilla BrowserID] New version not redirecting on logon /w WP 3.4 (4 posts)

  1. rmhrisk
    Member
    Posted 2 years ago #

    Love the plug-in, I just upgraded to 3.4 but it no longer works.

    When I click the Browser ID logon button for the dashboard (http://example.com/wp-login.php?redirect_to=http%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1) the Browser ID dialog comes up, I log in, the BrowserID dialog goes away, the url in the parent page doesnt change.

    If I refresh I get the login page again, wash rinse repeat same result.

    Regular login works.

    Ryan

    http://wordpress.org/extend/plugins/browserid/

  2. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin was tested with WordPress 3.4 and I just tested it again on my production site and it does work.

  3. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    Maybe you'll have to clear your browser cache.
    Do you have the latest version of the plugin installed?

  4. Lwangaman
    Member
    Posted 1 year ago #

    I think I found the problem, because redirect always goes to wp-admin even if I set it in the options to the homepage.
    In the function "Handle_login()", I tried:

    $string = var_export($options);
    die($string);

    to see the value of $options, and it was NULL !
    I think you forgot to call:

    $options = get_option('browserid_options');

    at the beginning of the function "Handle_login()", as you do in other functions. In fact, adding that line, as so:

    function Handle_login($result, $rememberme) {
      $options = get_option('browserid_options');

    fixed everything for me. Now $options is a valid array, and the redirect works perfectly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.