Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Login using persona does not work

  • 4 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 2 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jk_in_mk

more options

Login using the Persona method does not work in FF (various versions and Operating systems). Using other browsers e.g. Chrome or IE it does work.

I followed the instructions at http://www.sitepoint.com/authenticate-users-with-mozilla-persona/ (because those at https://developer.mozilla.org/en-US/Persona/Quick_setup were not easy to understand)

On hitting the "signup with Persona" button it just adds # to the URL. I did a factory reset on my FF - no change. Cleared cookies, no change.

But it works beautifully for other browsers. As Persona was invented by Mozilla this is crazy isn't it? This affects other people too, not just my setup (FF 29 under Linux Mint).

Would be grateful for any advice, Thanks, John

Login using the Persona method does not work in FF (various versions and Operating systems). Using other browsers e.g. Chrome or IE it does work. I followed the instructions at http://www.sitepoint.com/authenticate-users-with-mozilla-persona/ (because those at https://developer.mozilla.org/en-US/Persona/Quick_setup were not easy to understand) On hitting the "signup with Persona" button it just adds # to the URL. I did a factory reset on my FF - no change. Cleared cookies, no change. But it works beautifully for other browsers. As Persona was invented by Mozilla this is crazy isn't it? This affects other people too, not just my setup (FF 29 under Linux Mint). Would be grateful for any advice, Thanks, John

วิธีแก้ปัญหาที่เลือก

Thanks for looking Moses,

It inspired me to try again and it turned out to be a .htaccess file - once I removed that Firefox was fine.

I copied that from the example but never knew what it was for and the example did not mention it so I thougth What the hell, lets remove it and see what happens.

In case it means anything to you (it doesn't to me!) the content was : <IfModule mod_headers.c>

   Header set X-Content-Security-Policy: "default-src 'self'; frame-src 'self' https://login.persona.org ; script-src 'self' https://login.persona.org"

</IfModule>

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (4)

more options

hello john, can you try it with noscript disabled to rule out any interference from that?

Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

Hi Philip,

I have tried that and also restarting FF in Safe Mode and the factory reset. It made no difference so I re-installed it. Probably the others who tried my demo site don't even use noscript.

The place I'm using it is http://mkas.org.uk/members/ Its intended to only allow a limited group of people entry. At the moment there is nothing beyond the login test until I get this working.

Thanks, John

more options

Hi John,

I don't think it's just you. I can reproduce this on Firefox 29.0.1 and Pale Moon v24.5.0 but it works just fine on Chrome and Opera.

When I open the Error Console, I get

[06:19:26.592] ReferenceError: jQuery is not defined @ http://mkas.org.uk/members/js/mkasVerify.js:67

[06:19:26.675] syntax error @ http://api.smarterfox.com/api/infinite_scrolling_rules.json?locale=en-US&install_time=1400958418209&install_uuid=48e1bda4-8573-f7f0-af91-ddc198518714&install_source=addons.mozilla.org&extension_name=FastestFox:1

[06:19:27.159] Use of getPreventDefault() is deprecated. Use defaultPrevented instead. @ chrome://smarterwiki/content/jquery.js:3527

Looking into your code, I think that there's something up with the content in the script tags or the link rel tag up top.


Unfortunately, I don't have the knowledge to troubleshoot with HTML/CSS so I am going to pass on this question. Just thought I would confirm this isn't an isolated issue.


For the more experienced contributors, here is the source code just in case.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MKAS members-only area</title> <link rel="stylesheet" href="css/persona/persona-buttons.css"> </head> <body> <h1>MKAS members-only area (testing)</h1> <p> I find this does not work with Firefox v29. Please let me know of your results. <br/> Thanks, <br/> John. </p> <a href="#" class="persona-button persona-signin"><span>Sign in with Persona</span></a> <!--jQuery Library from Google--> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <!--Persona Library from Mozilla--> <script src="https://login.persona.org/include.js"></script> <!-- Our custom code --> <script src="js/mkasVerify.js"></script> </body> </html>

more options

วิธีแก้ปัญหาที่เลือก

Thanks for looking Moses,

It inspired me to try again and it turned out to be a .htaccess file - once I removed that Firefox was fine.

I copied that from the example but never knew what it was for and the example did not mention it so I thougth What the hell, lets remove it and see what happens.

In case it means anything to you (it doesn't to me!) the content was : <IfModule mod_headers.c>

   Header set X-Content-Security-Policy: "default-src 'self'; frame-src 'self' https://login.persona.org ; script-src 'self' https://login.persona.org"

</IfModule>