In my Android application, I'm using OAUTH to authenticate with a service. When I authenticate I get an access_token and a refresh_token; pretty standard.
The access token expire every hour, and you need to use your refresh token to get a new access token. Should I have a service that runs once an hour to refresh that for the user - or is it acceptable to have refresh token call every time I make a call to the server? I know it would have more network usage for the user for the latter case, but we're talking negligible amounts of data even for 50 token refreshes.
Thanks for any advice!