googleapis / googleapis/signet

Missing access token. (ArgumentError)

Open
#243 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
389
Forks
167
PR merge metrics
No merged PRs in 30d

Description

Environment details
  • Ruby version: 3.1.3
  • Rails version: 7.0.4

I use multiple Google services, such as Translate, speech-to-text, and text-to-speech. They were working fine before, but recently, I have been encountering missing access token errors on my Dockerize Development environment, though it is working fine locally.

signet-0.19.0/lib/signet/oauth_2/client.rb:1117:in `generate_authenticated_request': Missing access token. (ArgumentError)

Contributor guide

Open the contributing guide

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

Start at signet-0.19.0/lib/signet/oauth_2/client.rb:1117, where generate_authenticated_request raises the missing access token error, and compare the token setup between the local and Dockerized development environments. Reproduce the failure with the reported Google services and identify the environment difference that prevents the token from being available.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ruby
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.