In my Firefox OS privileged app I need authentication with Google.
uri=https://accounts.google.com/o/oauth2/auth............
var googleWin = window.open(uri, 'auth_window', 'fullscreen=0,width=200,height=100,resizable=1');
console.log(googleWin.document.title);
The above statement which try to to print the document title result in error
Error: Permission denied to access property 'document'
I need to access the Google auth "code" from the document title.
How to solve the permission problem?
Thanks in advance.