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

InternalOAuthError: Failed to obtain access token #12

Open
IsanHu opened this issue Dec 18, 2018 · 1 comment
Open

InternalOAuthError: Failed to obtain access token #12

IsanHu opened this issue Dec 18, 2018 · 1 comment

Comments

@IsanHu
Copy link

IsanHu commented Dec 18, 2018

Hi
I can't get through Sign in with Google

My credentials:

{
    "web": {
        "client_id": "my client id",
        "project_id": "my project id",
        "auth_uri": "https://accounts.google.com/o/oauth2/auth",
        "token_uri": "https://www.googleapis.com/oauth2/v3/token",
        "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
        "client_secret": "my client secret",
        "redirect_uris": [
            "http://127.0.0.1:8080/auth/google/callback"
        ],
        "javascript_origins": [
            "http://127.0.0.1"
        ]
    }
}

I got InternalOAuthError: Failed to obtain access token

InternalOAuthError: Failed to obtain access token
    at Strategy.OAuth2Strategy._createOAuthError (/Users/isan/Downloads/google-photos-master/REST/PhotoFrame/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /Users/isan/Downloads/google-photos-master/REST/PhotoFrame/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /Users/isan/Downloads/google-photos-master/REST/PhotoFrame/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/Users/isan/Downloads/google-photos-master/REST/PhotoFrame/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:182:13)
    at TLSSocket.socketErrorListener (_http_client.js:382:9)
    at TLSSocket.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
@abdellahaski
Copy link

Same here any updates ?

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

2 participants