Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'. #5

Open
exequielc opened this issue Aug 2, 2018 · 0 comments

Comments

@exequielc
Copy link

got this error on

this.googlePlus.login({
'scopes': '', // optional, space-separated list of scopes, If not included or empty, defaults to profile and email.
'webClientId': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com', // optional clientId of your Web application from Credentials settings of your project - On Android, this MUST be included to get an idToken. On iOS, it is not required.
'offline': true
})

shows this error on the console

index.html:1 Refused to display 'https://accounts.google.com/o/oauth2/auth?redirect_uri=storagerelay%3A%2F%2Fhttp%2Flocalhost%3A8000%3Fid%3Dauth751720&response_type=permission%20id_token&scope=email%20profile%20openid&openid.realm=&client_id=781145103219-vn75hrm8tv0b54hkck4dokv5nnr0pvao.apps.googleusercontent.com&ss_domain=http%3A%2F%2Flocalhost%3A8000&fetch_basic_profile=true&gsiwebsdk=2' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Ionic:

ionic (Ionic CLI) : 4.0.3
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : not available

System:

NodeJS : v8.11.1 (D:\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant