Hello everyone and firstly Im sorry for my lame English.
From time to time, we have problems with updating the token, or rather, we simply can not use the refresh_token This is what it looks like:
And disappears as if someone manually denies him access.
And, of course, the last access_token stops working, and with it the refresh_token. After that, we again need to manually confirm the app's access for the first time. Because refresh_token, certainly, is not valid after the app disappears from the list.
Please, anybody, tell me what this might be related to. And for what reason can an app disappear from the list, if no one manually restricts access to app?
Maybe there are some reasons: improper use of tokens and so on-the reasons why the application may disappear. Or private account settings that we don't know about? We will be glad to receive any suggestions, thank you in advance.
If your application is still in testing or has not been though the verification process then refresh tokens will expire between one to two weeks. This may also cause the application to be removed from the users permission, however I cant say I have actually checked but it makes sense. From googles end the easiest way to ensure a refresh token will expire would be to revoke the users permission.
Set the app to production and apply for verification. Should fix the issue.