NatLabRockies / NatLabRockies/api-umbrella

GoogleOauth2: "Invalid credentials".

Open
#44 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.2k
Forks
373
PR merge metrics
No merged PRs in 30d

Description

When configuring the Google settings for API Umbrella, I get the following error:

Could not authenticate you from GoogleOauth2 because "Invalid credentials".

The user email address is in the initial_superusers list, and the Google settings for client_id and client_secret seem correct.

On the Google configuration end of things, what should I put for:

  • Redirect URIs
  • Javascript Origins

I currently have:

  • Redirect URIs : <domain.com>/admins/auth/google_oauth2/callback
  • Javascript Origins: <domain.com>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Google settings for client_id and client_secret, the initial_superusers list, and the /admins/auth/google_oauth2/callback entry point. Compare the configured Redirect URIs and Javascript Origins with the domain being used; done means Google login completes without the "Invalid credentials" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.