cenkalti / github-flask

🍾 Flask extension for GitHub API

Home Page:https://github-flask.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expose refresh_token to authorized_handler

jeremyd2019 opened this issue · comments

GitHub now has a mechanism where it returns an access_token that expires in 8 hours and a refresh_token that's good for 6 months that you can use to get a fresh access token. See https://docs.github.com/en/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens.