frankie567 / httpx-oauth

Async OAuth client using HTTPX
https://frankie567.github.io/httpx-oauth/
MIT License
136 stars 45 forks source link

Support GitHub refresh tokens #314

Closed spatel-cog closed 2 months ago

spatel-cog commented 8 months ago

The REFRESH_ENDPOINT for github is https://github.com/login/oauth/access_token

Upvote & Fund

Fund with Polar

frankie567 commented 8 months ago

Refreshing tokens in GitHub is quite new and still a preview feature: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens

That's why we don't have it currently in our client. But I'm willing to review PR for it; especially if it's able to support GitHub apps with and without refresh tokens support.

frankie567 commented 2 months ago

Closed by c8229eef702a2272a4a8b3aa52909fd4c47778c4