AdamBrodzinski / meteor-phonegap-oauth

Fixes how Meteor handles OAuth popups on PhoneGap/fullscreen
MIT License
33 stars 7 forks source link

fixed twitter's ability to actually signup and login the user in #3

Closed faceyspacey closed 10 years ago

jperl commented 10 years ago

Thanks for the workaround. Here are two things that I ran into when trying to use it:

1) It will not work with the browser-policy package because of executeScript.

I was getting this error specifically Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".

2) The regex needs a bit of tweaking for LinkedIn because close will match the initial oauth popup.