Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8499691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:44:10+00:00 2026-06-11T00:44:10+00:00

Update 1: as I delve deeper, this isn’t really anything to do with Rails,

  • 0

Update 1: as I delve deeper, this isn’t really anything to do with Rails, it’s more of a question about how to have a server access our account using credentials provided by Google when the API we’re calling doesn’t support the Service Model

I have a server application that needs to connect to Google API from Rails. I can authenticate with OAuth2 successfully using the google-api-ruby-client gem and get other APIs working. There are several samples that use the gem, but most assume you want a user to authenticate themselves in a web environment. Others support what Google calls a “Service Model” where it’s really the app validating itself. I have that working, too.

However the specific API I am querying is Google Affiliate Network (GAN), which does not support the Service Account model. In particular, I need a server to be able to authenticate with OAuth2 without any user interaction. I have done this using OAuth in several other contexts, but am struggling to get it working in this case.

Does anyone know of working Rails code for GAN?

Update 2: I am searching this google document on API authorization for strategies that don’t require user interaction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:44:11+00:00Added an answer on June 11, 2026 at 12:44 am

    I found a workable solution — it uses Google’s “Installed Application” approach, which needs one bit of manual setup, but is otherwise a working solution.

    https://gist.github.com/3543368

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE: I've been playing around with this more, and it seems like tmux's clear-history
UPDATE 6/21/12 I have a form in rails that is working similar to an
UPDATE: I've completely changed the question because in reality, I'm having a really hard
UPDATE This is an old question for an old version of Xcode. It turned
UPDATE: I made a mistake in my debugging - this question is not relavent
Update 2018 : This question was asked long before PostCSS existed, and I would
UPDATE The second after I posted this question, thanks to the syntax highlighting of
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
Update: Now that it's 2016 I'd use PowerShell for this unless there's a really
UPDATE: I found a Scipy Recipe based in this question! So, for anyone interested,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.