remix-auth-github icon indicating copy to clipboard operation
remix-auth-github copied to clipboard

Support GitHub App with OAuth

Open chris-feist opened this issue 2 years ago • 0 comments

GitHub allows apps to optionally add OAuth during the app installation, see step 11 here. In this case, your callback URL is called directly after a user installs the app on GitHub.com with an auth code to exchange for a user token. However, this library fails to handle this because there is no state (relevant code). Below example url signature for this scenario.

Please add support for this auth flow!

http://localhost:3000/auth/github/callback?code=01234567890abcdef012&installation_id=01234567&setup_action=install

Debug error in console: OAuth2Strategy State from URL null

chris-feist avatar Aug 22 '23 16:08 chris-feist