octocrab icon indicating copy to clipboard operation
octocrab copied to clipboard

Support procuring a user access token from an oauth code

Open krishmas opened this issue 1 year ago • 1 comments

Support for calling login/oauth/access_token outside of just the DeviceCode flow would be useful for verifying users of GitHub apps that use oauth.

GitHub docs references:

krishmas avatar May 11 '24 21:05 krishmas

Thank you for your issue! I'd be willing to accept a contribution adding this feature.

XAMPPRocky avatar May 13 '24 07:05 XAMPPRocky

Hi @XAMPPRocky, @krishmas I wanted to give my contribution and I tried to implement an API to get the access token when using the web application flow on the callback request.

Let me know if this make sense to you, thanks!

mattiapitossi avatar Jun 23 '25 16:06 mattiapitossi