A Refresh Token is a special kind of token that can be used to obtain a renewed access token —that allows accessing a protected resource— at any time.
Questions tagged [refresh-token]
999 questions
0
votes
2 answers
Refresh tokens, really short-lived access tokens, and server load
I've been doing some research on implementing JWTs for a PHP based API we are building and one thing that confuses me the most at the moment are refresh tokens. From what I gather, you get both an access token and a refresh token during initial…

georaldc
- 1,880
- 16
- 24
0
votes
1 answer
Google Calendar API not working offline. where do I get refresh token in codeigniter controller
I'm using Google Calendar API to display events on fullcalendar(so using a json object in my view). I'm using codeignitor php framework, and I have a few functions in my controller to create a new client then I use that in the oauth2callback()…

nivanmorgan
- 149
- 1
- 16
0
votes
1 answer
Outlook API v2.0 refresh token?
I'm using the outlook api v2.0
I can get the access token and it works great !
My problem is that the access token last only 1 hour and I can't find any documentation to get a refresh token with the v2.0 ...
Someone knows how to proceed ?
Thanks

Geoffroy
- 1
- 3
0
votes
1 answer
What are the various possible ways that an attacker can compromise access_token and/or refresh_token?
There are much discussions in almost every forums about web application security (not considering mobile apps) specially using oauth2 and jwt. Everyone put their comments/answers this and that, blah..blah..blah about security tokens (assuming almost…

PainPoints
- 461
- 8
- 20
0
votes
1 answer
How to use ADAL Library when I have Multiple Resources
How I can enable multi resource support in iOS using ADAL.Searched in so many sites, but finding it difficult to understand the flow with multiple resources, with Refresh Token and Access Token.Can anyone explain this flow briefly please?
According…

Shyam
- 417
- 4
- 16
-1
votes
1 answer
How to fetch userInformation from authentication when using grant type as refresh_token inside spring authorization server
I am implementing a custom auth server using spring's new authorization server. Our need was to implement a CustomAccessTokenResponseHandler for providing additional information in the http json response. I have achieved that by implementing…

Abhishek Mishra
- 19
- 3
-1
votes
1 answer
Refresh token in Google client ID
Does anybody know after how much time or how many requests does refresh token expires in Google ads API? I created refresh token here https://developers.google.com/oauthplayground.
Does anyone know what is the impersonated email in server account…

Sasa
- 1
- 1
-1
votes
1 answer
How can I get the refresh token when I send a POST request to refresh it
I'm currently working on a project and I want a good way to send a POST request to refresh a token
I'm using Axios interceptors to check before every request if the current access token is expired or not. if it is, I'm sending the POST request to…

Aviv Alon
- 21
- 2
-1
votes
1 answer
axios post request getting error 500 fdretdrgfdg
A post request with axios get http error 500.
This is the code:
async function getUserTokenByRefresh(refreshToken) {
const encodedStr = base64Encode(`${process.env.EBAY_SANDBOX_APPID}:${process.env.EBAY_SANDBOX_CERTID}`);
const auth = `Basic…

blob
- 439
- 8
- 21
-1
votes
1 answer
How to recall the API request after getting the refresh token?
I am trying to recall the API request after getting the refresh token from the API.
Having issue in recall the same API request.
It shows invalid access token error while running this api.
how to fix this issue.
How to recall the get API request to…

Naveen Kumar
- 373
- 1
- 9
-1
votes
1 answer
Keep User Logged in on Refresh with Cookie
I'm trying to make it so that a Google OAuth user doesn't have to log in every time they refresh the page. I have a cookie stored that saves the login token and is checked on page load. However, it still makes the user log in when the page is…

Wilson T.
- 11
- 1
- 4
-1
votes
2 answers
Angular 10: repeat the same http request after obtaining the refresh token
I am trying to achieve the following in my HTTP calls
If an API request returns 401 then call the refresh token endpoint to get the token.
Retry the same HTTP call with the updated token
Here is the relevant code
// this method invoke when the…

shamon shamsudeen
- 5,466
- 17
- 64
- 129
-1
votes
1 answer
IdentityServer4 invalid grant. Detailed information
I see "invalid grant" responses on some refresh_token grant type requests. How can I see detailed information about the reason of "invalid grant". What is invalid?

Anton Koposov
- 21
- 3
-1
votes
1 answer
react native fetch hook and refresh jwt token
i have made a custom hook to fetch data from api, but the token only valid for 5 second.
so i made this hook
the problem is when i call the hooks from my page it called many time and the refresh token already expired
when i access the api i will…

QrQr
- 141
- 1
- 13
-1
votes
3 answers
Request retry best practices
i am building application using Flutter, GraphQL and Firebase with NodeJS API.
In my applicaiton i have implmented Firebase auth and token refresh and my nodejs api validates it.
My token refresh is with intervals of 3500 seconds (where token is…

Vytautas Pranskunas
- 772
- 12
- 23