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

  1. rmhrisk
    Posted 4 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.



  2. M66B
    Plugin Contributor

    Posted 4 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. M66B
    Plugin Contributor

    Posted 4 years ago #

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

  4. John D'Orazio
    Posted 3 years 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);

    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

  • Mozilla Persona (BrowserID)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.