Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

OAuth1 RSA SHA1 signature support #203

Open
rtfpessoa opened this issue Nov 4, 2019 · 1 comment
Open

OAuth1 RSA SHA1 signature support #203

rtfpessoa opened this issue Nov 4, 2019 · 1 comment

Comments

@rtfpessoa
Copy link

rtfpessoa commented Nov 4, 2019

Hi,

I started using this library to perform oauth1 with Bitbucket Server (previously Stash)

The code I needed was pretty much the same you have but with some slight changes in the signature, to use RSA with SHA1.

Would you be willing to accept my contribution with this code?
If yes, what would it be the best approach to support both signatures?

In sum it needs the header value to be changed and the signature code.
You can check the modified version here https://github.com/codacy/stash-scala-client/blob/ba4e55b0d58604b47c100111fdca627bb02d3d85/src/main/scala/com/codacy/client/stash/client/auth/OAuth1.scala

@andreaTP
Copy link

andreaTP commented Dec 3, 2019

cc. @hoffrocket

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants