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

  • Home
  • SEARCH
  • 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 6576275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:29:32+00:00 2026-05-25T15:29:32+00:00

We want to use Google Doc API to generate Document (In our own business

  • 0

We want to use Google Doc API to generate Document (In our own business account) when our end users do some actions on our site.

The problem is that we’ve tried to implement the OAuth 2.0 protocol, as suggested in the v3.0 protocol documentation. The apiClient::authentication method do a redirection. This is a major problem because our users doesn’t know the access to our own business account…. and we don’t want to give them access anyway 😉

(In other word, we’re not creating an application that allow our users to edit their own data, but to interact with our data, like a database.)

I’ve read that the point of OAuth 2.0 was to avoid that we manage the credential of our users. I’m personally O.K. with the concept, but in our case, we don’t want to get authenticated in the google account of our users …

So, what would be the best approach to get a valid authentication without any interaction from the end user ?

  • 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-05-25T15:29:32+00:00Added an answer on May 25, 2026 at 3:29 pm

    What you describe is not how 3-legged OAuth was designed to be used.

    3-legged OAuth is all about delegated authentication where a user (who knows his password) can grant limited and revokable resource access to application. That application never sees the user’s password. There is a bunch of work involved to safely allow the application to impersonate the user.

    What you probably want is to use the (2-legged) OAuth flow, where the consumer_id/consumer_secret credentials are embedded in your application. Here your application is not impersonating your end user and there would be no browser redirection involved.

    Here’s some further info on using 2-legged OAuth in Google Apps:
    http://googleappsdeveloper.blogspot.com/2011/07/using-2-legged-oauth-with-google-tasks.html

    And this is a good description of 3- vs 2- legged OAuth:
    http://cakebaker.42dh.com/2011/01/10/2-legged-vs-3-legged-oauth/

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

Sidebar

Related Questions

I want to use Google translate API from the iPhone. What I found is
I want to use Google Maps API to draw an area around a particular
i want to use Google font in my own web page when i write
I want to use google's online GAE data viewer offline... Is there some bunch
I want to use Google spreadsheets to store data online so multiple people can
I want to use google chrome as a control. I think Enso does this
I want to use the google maps hand cursor in Python but I don't
I want to use telnet to google mail server on linux. I want to
A client wants to use Google Apps for employees but they want to offer
I want to use the thumbnail of the Google video's. In PHP or JavaScript

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.