Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract bitbucket clientKey instead of workspace uuid #13

Merged
merged 3 commits into from
Dec 16, 2020

Conversation

modestfake
Copy link
Collaborator

This was a mistake 🤦

Bitbucket installation webhook does contain both clientKey and uuid but JWT token in Authorization header in incoming webhooks or requests from front-end does not contain uuid, only clientKey. So we have to stick to clientKey for Bitbucket.
BTW, this change means that both Jira and Bitbucket apps are handled in the same way, so product property on class Addon doesn't do anything. But let's keep it for now.

Thanks @utluiz for spotting this.

@modestfake modestfake merged commit 047d982 into master Dec 16, 2020
@modestfake modestfake deleted the revert-extracting-bitbucket-id branch April 22, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants