To not interrupt the user when running commands interactively, the access token for a user logging in with GitHub app should auto refresh. This can be done when functions are called and the access token has reached a half- life or expired.