Skip to content
This repository was archived by the owner on May 13, 2019. It is now read-only.
This repository was archived by the owner on May 13, 2019. It is now read-only.

400 Error on clicking sign in #10

Open

Description

@mrpotes

I'm trying out this sample, but I'm just getting:

  1. That's an error.
    The page you requested is invalid. That's all we know.

I've configured a web application in Google Cloud Console, with an OAuth 2.0 Client ID, with web origin of http://localhost:4567.

Activity

  1. cartland commented on Dec 17, 2013

    @cartland
    Contributor

    Can you tell me the URL in the browser when you see the error? Feel free to remove the client ID from the URL before sharing.

  2. cartland commented on Dec 18, 2013

    @cartland
    Contributor

    @mrpotes have you turned on the Google+ API? This is in the API section.

  3. mrpotes commented on Dec 20, 2013

    @mrpotes
    Author

    @cartland I hadn't, but have just retried with it turned on and still get the same response.

  4. gguuss commented on Jan 6, 2014

    @gguuss
    Contributor

    Is {{CLIENT_ID}} what you are seeing or have you configured your actual client ID in client_secrets.json? If you run curl localhost:4567 | grep -i "data-clientId=" are you seeing your client ID correctly?

  5. mrpotes commented on Jan 6, 2014

    @mrpotes
    Author

    Yes, I set it in the json file. I have since discovered that the client
    credentials don't work if set up from my Google Apps account, but it works
    fine from a vanilla Google account. I have raised an issue in the Google
    code project mentioning this.
    On 6 Jan 2014 18:18, "Gus Class" notifications@github.com wrote:

    Is {{CLIENT_ID}} what you are seeing or have you configured your actual
    client ID in client_secrets.json?

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-31671901
    .

  6. cartland commented on Feb 27, 2014

    @cartland
    Contributor

    @mrpotes does this work from each of your accounts now?

  7. mrpotes commented on Mar 4, 2014

    @mrpotes
    Author

    Hi @cartland, sorry for the delay in responding. I eventually worked out what was causing the problem I was seeing - even if I can't understand why.

    The issue seems to occur when you try to log in to an application that uses OAuth twice using the same Google account without signing out in between. This could be either because the browser window was closed and then reopened, so any session was lost, or it could be that the user is logging in from multiple devices simultaneously.

  8. mrpotes commented on May 27, 2014

    @mrpotes
    Author

    Hi @cartland, I was just wondering if you had any insight into this issue, as it's still a problem?

  9. gguuss commented on Jun 9, 2015

    @gguuss
    Contributor

    @mrpotes - have you tried using an incognito window on the page that is causing the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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