Closed ghost closed 2 years ago
Looks like this is why jwt tokens do not work:
https://github.com/fastai/ghapi/blob/35347e9fdd08cbe970ca65e8074b0e6b8822ec58/ghapi/core.py#L90-L99
Github expects the header to have Bearer
instead of token
"Authorization: Bearer YOUR_JWT"
Perhaps we can add a new attribute jwt_token. I know this package is auto generated from the API spec, but I'm assuming this part was manually written so it can be updated? I'll try this weekend.
It looks like endpoints that require JWT tokens do not work.
I've verified the jwt token is valid by creating an access token via the github api.
Below is my code:
returns