hi before the 02/11/2022 the refresk token expire in 86400 seconds and after the 02/11/2022 the refresh token, expire in 3600 seconds . It’s normal or do you have the bug ? I can’t see this updat in the documentation.
Thanks for you help
Cédric
hi before the 02/11/2022 the refresk token expire in 86400 seconds and after the 02/11/2022 the refresh token, expire in 3600 seconds . It’s normal or do you have the bug ? I can’t see this updat in the documentation.
Thanks for you help
Cédric
Hi
The refresh_token should not expire.
hi not see in the documencation API.
Last the 3/11/2022, all token expire after 3600 seconds. In the response expire_in have the nice seconds before the 2/11/2022.
I have this response for the POST https://auth.videoask.com/oauth/token
```
{
access_token: "xxxxxxxxxxxxxxxxxxxx",
refresh_token: "BndxxxxxGdExxxxxxxxxxxxxxxxKsa",
id_token: "eyxxxxxxxxxxxxxxxxxxxxxxxvQ",
scope: "openid profile email offline_access",
expires_in: 3600,
token_type: "Bearer"
}
```
before i have this (call of the 2/11/2022)
```
{
access_token: "xxxxxxxxxRdOUg",
refresh_token: "xxxxxx",
id_token: "exxxxxxxxxxxxxxxx",
scope: "openid profile email offline_access",
expires_in: 86400,
token_type: "Bearer"
}
```
I’m checking with our team to see if this change was intended.
Hi
The access token is now valid for 60 minutes, rather than 24 hours.
Let me know if you have any further questions!
What would be the best way to make sure access token is up to date in our system?
You could run a cronjob or cache the access token. So basically, when you generate a new access token you cache it for its lifetime of one hour.
Then when the next request comes in, you can check if the access token is still cached. If it is, you’re good to go. If it’s not, use the refresh token to generate a new access token.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.