Skip to content

Conversation

@suhaibmujahid
Copy link
Contributor

@suhaibmujahid suhaibmujahid commented Mar 1, 2021

This PR exports a function that generates the Github Apps JWT signed string. This will be useful when the client needs to manually authenticate a request using the App token (not the installation token).

This pull request also fixes #37 by a downgrade to the stable versions of jwt-go. Also, it solves part of #41 where it solves an incompatible update with jwt-go.

@suhaibmujahid
Copy link
Contributor Author

BTW, based on my tests, I got an authentication error from Github when using jwt-go v4. For that, I included a downgrade to v3 in this PR.

@suhaibmujahid
Copy link
Contributor Author

From jwt-go's Readme file:

If you depend on this library and don't want to be interrupted, I recommend you use your dependency mangement tool to pin to version 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant