octocrab
octocrab copied to clipboard
Support procuring a user access token from an oauth code
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:
Thank you for your issue! I'd be willing to accept a contribution adding this feature.
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!