what is the expiry time of github oauth access token. And also how do I renew it. I don\'t see any refresh token in their documentation. Please guide me. Thanks in advance.
Generally, the access_token of GitHub has no expiry until you revoke the OAuth token.
You can consider to opt in to GitHub App expiration token beta feature. This would make your app use expiring user tokens valid for 8hrs, and refresh tokens valid for 6 months