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
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
add a comment |
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
add a comment |
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
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
oauth-2.0 google-docs-api
asked Mar 25 at 15:46
Ярослав ЖарковЯрослав Жарков
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
Thank you for reply. So, looks like forever alive access token is unrealistic?
– Ярослав Жарков
Mar 26 at 18:45
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Thank you for reply. So, looks like forever alive access token is unrealistic?
– Ярослав Жарков
Mar 26 at 18:45
add a comment |
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.
Thank you for reply. So, looks like forever alive access token is unrealistic?
– Ярослав Жарков
Mar 26 at 18:45
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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