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

Oauth with Google returns "Failed obtaining google access token" #20

Closed
FabricioFFC opened this issue Aug 20, 2014 · 3 comments
Closed
Labels
non issue Issue is not a problem or requires changes

Comments

@FabricioFFC
Copy link

Hi,

When the callback is called the authentication fails because the application can't obtain the google access token. I already double checked my configurations and everything seem ok.

Anyone could have some guess why this error is happening?

{
  isAuthenticated: false,
  credentials: undefined,
  artifacts: undefined,
  session: {
    set: [
      Function
    ],
    clear: [
      Function
    ]
  },
  mode: 'try',
  strategy: 'google',
  error: {
    [
      Error: Failedobtaininggoogleaccesstoken
    ]data: '{\n  "error" : "invalid_grant",\n  "error_description" : "Invalid code."\n}',
    isBoom: true,
    output: {
      statusCode: 500,
      payload: [
        Object
      ],
      headers: {
        
      }
    },
    reformat: [
      Function
    ]
  }
}
@hueniverse
Copy link
Contributor

I am guessing something to do with how the app is configured on the Google side.

@FabricioFFC
Copy link
Author

Hi Eran,

Thanks for the response.

I just figured out that the problem was in another callback, nothing related with the Google API or Bell.

@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
non issue Issue is not a problem or requires changes
Projects
None yet
Development

No branches or pull requests

2 participants