Skip to content

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

@exequielc

Description

@exequielc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions