Skip to content

gapi.auth.authorize silently failing due to returned X-Frame-Origins: SAMEORIGIN #218

@cowsrule

Description

@cowsrule

I posted this question to stack overflow, but have started getting an increasing number of customers complaining about the same issue. The stack overflow link has more information: https://stackoverflow.com/questions/35779351/google-oauth-gapi-auth-authorize-x-frame-options-sameorigin

Summary
Start ~2wks ago a few customers have started hitting an issue that prevents them from authenticating with Google services. All of the instances that I have encountered so far appear to be on non-gmail domains. The issue appears to be that the https://accounts.google.com/o/oauth2/auth request from gapi.auth.authorize is returning a response with the 'X-Frame-Options: SAMEORIGIN' header for these particular clients. I have been unable to reproduce this issue locally, but have been given multiple HARs of the failed request.

This same authentication method is working well for a variety of other clients including other hosted domains (non-@gmail accounts) that are all running the same code and request the same set of OAuth scopes.

Are there known patterns that would cause the Google authorization servers to return this particular header? Is there more information that I can provide?

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