2

Hey everyone so i have a custom login button which calls Meteor.loginWithTwitter(); like so:

pic

This works great on Chrome, the twitter popup pops up etc.., but on Firefox and IE It doesnt do anything and spits this out in the console: Error: Permission denied to access property "call"

in

events.js:423:10

Any idea as to whats going on here, and why it works in Chrome but not the others? I went and added the deault login buttons {{> loginButtons}} just to test and it does work on the other browsers but still outputs the same error.

Orbit
  • 2,985
  • 9
  • 49
  • 106

2 Answers2

0

Try the same code in your event helper in IE/Firefox console. This should give you an idea of what is going on.

Adnan Y
  • 2,982
  • 1
  • 26
  • 29
  • Yes using `Meteor.loginWithTwitter();` directly in the console makes the login and popup work but the error still persists. Weird huh? And no, im not gettings any kind of errors in the Chrome console. – Orbit May 02 '15 at 01:23
  • see this question http://stackoverflow.com/questions/7995223/error-permission-denied-to-access-property-document. Overall it seems that your issue is unrelated to meteor and is something to do with your server configuration/certificate or a mix of two. – Adnan Y May 02 '15 at 01:30
  • This is being run locally. Same problem persists when its live though as well. – Orbit May 02 '15 at 01:34
  • If you replace loginWithTwitter to Accounts.loginWithPassword, does that work? – Adnan Y May 02 '15 at 01:42
  • and by work I mean, does that throw the same error? *Meteor.loginWithPassword() – Adnan Y May 02 '15 at 01:50
0

Ok so removing ecwyne:polymer-elements package did the trick.

Orbit
  • 2,985
  • 9
  • 49
  • 106