MunifTanjim / node-bitbucket

Bitbucket API client for Browser and Node.js
https://bitbucketjs.netlify.app
MIT License
105 stars 31 forks source link

feat: support signing reqs with jwts in node #117

Open pavel-solodilov opened 2 years ago

pavel-solodilov commented 2 years ago

This PR enables using JWTs for signing the requests they are sending to the Bitbucket API. This capability is being added for Node, but not for browsers. This is due to the atlassian-jwt package being finicky with about the build system. If it's fine, great. If you have some pointers how to fix this, even better!

I've written a small PoC to try it out: https://github.com/pavel-solodilov/poc-node-bitbucket-jwt

This PR fixes this issue: https://github.com/MunifTanjim/node-bitbucket/issues/31