googleads / googleads/google-api-ads-ruby

Occurred error after entering verification code

Open
#172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
303
Forks
221
PR merge metrics
No merged PRs in 30d

Description

I followed all the steps according to document and After run setup_oauth2.rb script this became,

Hit Auth error, please navigate to URL:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=********-*******.apps.googleusercontent.com&redirect_uri=*******&response_type=code&scope=https://www.googleapis.com/auth/adwords
log in and type the verification code:

I go to above URL and allow access and it will shows some code and I entered it to above place and hit it again. But it was generated another error,

:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (Faraday::SSLError)

How I fix it?

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

Begin with setup_oauth2.rb and reproduce the reported Faraday::SSLError after entering the verification code. Investigate the certificate verification failure in the OAuth setup; done means authentication completes without this 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.