-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Is the authentication method Client Authentication Grant supported?
I found several references to it in the code, but I did not figure out how to use it successfully.
I tried using:
bitbucket.authenticate({
type: 'oauth',
key: key,
secret: secret
})
But this sets key
and secret
as query param, which is not correct (I don't see it mentioned anywhere in on the Authentication page): https://api.bitbucket.org/2.0/repositories/my-user/my-repo/commit/c0f212a586f0cf6be721f39acd334e9f4cdc9c48/statuses/build?client_id=****&client_secret=****
I also found the clientCredentialsGrant
mentioned in src/plugins/oauth/routes.js
, but this plugin is not hooked up in src/index.js
and I'm not sure if / how it is supposed to be used.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed