Is the any way to get Google Docs OAuth 2.0. access token, which will exists longer than 3600 sec?Why do access tokens expire?Unable to get token using Google APIs [google-oauth-java-client-1.12.0-beta] for service account flowGoogle OAuth getting refresh token using javascript generated OAuth access_tokenUse Google OAuth 2.0 refresh token without client_secretGoogle OAuth 2.0 offline accessYahoo OAuth 2.0 invalid_grant when issuing an access tokenMay an OAuth 2.0 access token be a JWT?Google OAuth 2.0 Access Token Request ErrorOAuth 2.0 Password Expiry when Obtaining an Access TokenOauth 2.0: I can't get profile info from Google “token info endpoint” by using id_token

Would skyscrapers tip over if people fell sideways?

How can an inexperienced GM keep a game fun for experienced players?

What happens if a caster is surprised while casting a spell with a long casting time?

I agreed to cancel a long-planned vacation (with travel costs) due to project deadlines, but now the timeline has all changed again

Should Catholics in a state of grace call themselves sinners?

Could you fall off a planet if it was being accelerated by engines?

What prevents a US state from colonizing a smaller state?

Why are examinees often not allowed to leave during the start and end of an exam?

Word ending in "-ine" for rat-like

Could all three Gorgons turn people to stone, or just Medusa?

Can dual citizens open crypto exchange accounts where U.S. citizens are prohibited?

Does "boire un jus" tend to mean "coffee" or "juice of fruit"?

Automorphisms and epimorphisms of finite groups

How far can gerrymandering go?

How do I keep a running total of data in a column in Excel?

Checkmate in 1 on a Tangled Board

How soon after takeoff can you recline your airplane seat?

Why did the Apple //e make a hideous noise if you inserted the disk upside down?

Avoiding repetition when using the "snprintf idiom" to write text

Why am I getting an electric shock from the water in my hot tub?

Is it possible to alias a column based on the result of a select+where?

Russian equivalents of 能骗就骗 (if you can cheat, then cheat)

Two palindromes are not enough

Why do movie directors use brown tint on Mexico cities?



Is the any way to get Google Docs OAuth 2.0. access token, which will exists longer than 3600 sec?


Why do access tokens expire?Unable to get token using Google APIs [google-oauth-java-client-1.12.0-beta] for service account flowGoogle OAuth getting refresh token using javascript generated OAuth access_tokenUse Google OAuth 2.0 refresh token without client_secretGoogle OAuth 2.0 offline accessYahoo OAuth 2.0 invalid_grant when issuing an access tokenMay an OAuth 2.0 access token be a JWT?Google OAuth 2.0 Access Token Request ErrorOAuth 2.0 Password Expiry when Obtaining an Access TokenOauth 2.0: I can't get profile info from Google “token info endpoint” by using id_token













0















Usual solution is to use https://developers.google.com/oauthplayground, but it doesn't give long lived token. I also tried this approach, but had "invalid_grant" response.










share|improve this question


























    0















    Usual solution is to use https://developers.google.com/oauthplayground, but it doesn't give long lived token. I also tried this approach, but had "invalid_grant" response.










    share|improve this question
























      0












      0








      0








      Usual solution is to use https://developers.google.com/oauthplayground, but it doesn't give long lived token. I also tried this approach, but had "invalid_grant" response.










      share|improve this question














      Usual solution is to use https://developers.google.com/oauthplayground, but it doesn't give long lived token. I also tried this approach, but had "invalid_grant" response.







      oauth-2.0 google-docs-api






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 15:46









      Ярослав ЖарковЯрослав Жарков

      1




      1




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Using OAuth 2.0 to Access Google APIs provide the basic step on how to obtain tokens. From the 4th basic step it was stated:




          4. Refresh the access token, if necessary.



          Access tokens have limited lifetimes. If your application needs access
          to a Google API beyond the lifetime of a single access token, it can
          obtain a refresh token. A refresh token allows your application to
          obtain new access tokens.




          And a note that discuss how to limits was applied with these tokens:




          Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number
          of refresh tokens that are issued per client-user combination, and per
          user across all clients, and these limits are different. If your
          application requests enough refresh tokens to go over one of the
          limits, older refresh tokens stop working.







          share|improve this answer























          • Thank you for reply. So, looks like forever alive access token is unrealistic?

            – Ярослав Жарков
            Mar 26 at 18:45










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341574%2fis-the-any-way-to-get-google-docs-oauth-2-0-access-token-which-will-exists-lon%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Using OAuth 2.0 to Access Google APIs provide the basic step on how to obtain tokens. From the 4th basic step it was stated:




          4. Refresh the access token, if necessary.



          Access tokens have limited lifetimes. If your application needs access
          to a Google API beyond the lifetime of a single access token, it can
          obtain a refresh token. A refresh token allows your application to
          obtain new access tokens.




          And a note that discuss how to limits was applied with these tokens:




          Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number
          of refresh tokens that are issued per client-user combination, and per
          user across all clients, and these limits are different. If your
          application requests enough refresh tokens to go over one of the
          limits, older refresh tokens stop working.







          share|improve this answer























          • Thank you for reply. So, looks like forever alive access token is unrealistic?

            – Ярослав Жарков
            Mar 26 at 18:45















          0














          Using OAuth 2.0 to Access Google APIs provide the basic step on how to obtain tokens. From the 4th basic step it was stated:




          4. Refresh the access token, if necessary.



          Access tokens have limited lifetimes. If your application needs access
          to a Google API beyond the lifetime of a single access token, it can
          obtain a refresh token. A refresh token allows your application to
          obtain new access tokens.




          And a note that discuss how to limits was applied with these tokens:




          Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number
          of refresh tokens that are issued per client-user combination, and per
          user across all clients, and these limits are different. If your
          application requests enough refresh tokens to go over one of the
          limits, older refresh tokens stop working.







          share|improve this answer























          • Thank you for reply. So, looks like forever alive access token is unrealistic?

            – Ярослав Жарков
            Mar 26 at 18:45













          0












          0








          0







          Using OAuth 2.0 to Access Google APIs provide the basic step on how to obtain tokens. From the 4th basic step it was stated:




          4. Refresh the access token, if necessary.



          Access tokens have limited lifetimes. If your application needs access
          to a Google API beyond the lifetime of a single access token, it can
          obtain a refresh token. A refresh token allows your application to
          obtain new access tokens.




          And a note that discuss how to limits was applied with these tokens:




          Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number
          of refresh tokens that are issued per client-user combination, and per
          user across all clients, and these limits are different. If your
          application requests enough refresh tokens to go over one of the
          limits, older refresh tokens stop working.







          share|improve this answer













          Using OAuth 2.0 to Access Google APIs provide the basic step on how to obtain tokens. From the 4th basic step it was stated:




          4. Refresh the access token, if necessary.



          Access tokens have limited lifetimes. If your application needs access
          to a Google API beyond the lifetime of a single access token, it can
          obtain a refresh token. A refresh token allows your application to
          obtain new access tokens.




          And a note that discuss how to limits was applied with these tokens:




          Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number
          of refresh tokens that are issued per client-user combination, and per
          user across all clients, and these limits are different. If your
          application requests enough refresh tokens to go over one of the
          limits, older refresh tokens stop working.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 6:21









          MαπμQμαπkγVπ.0MαπμQμαπkγVπ.0

          2,4661 gold badge5 silver badges15 bronze badges




          2,4661 gold badge5 silver badges15 bronze badges












          • Thank you for reply. So, looks like forever alive access token is unrealistic?

            – Ярослав Жарков
            Mar 26 at 18:45

















          • Thank you for reply. So, looks like forever alive access token is unrealistic?

            – Ярослав Жарков
            Mar 26 at 18:45
















          Thank you for reply. So, looks like forever alive access token is unrealistic?

          – Ярослав Жарков
          Mar 26 at 18:45





          Thank you for reply. So, looks like forever alive access token is unrealistic?

          – Ярослав Жарков
          Mar 26 at 18:45






          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341574%2fis-the-any-way-to-get-google-docs-oauth-2-0-access-token-which-will-exists-lon%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?