Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

what is clientid

Edited

I follow the instructions on:
https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html
All of a sudden, there is a mention of a clientid

But I only have a key and a secret.

 

Would have been nice if there was some kind of example on that page, so I could better understand what to do next.

 

I tried to put the key instead of the {cliendid}, but then it gives me:

Invalid redirect_uri

This integration is misconfigured. Contact the vendor for assistance.
It seems that we are the vendor (trying to make a vendor package)



3 answers

1 vote
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 22, 2018

Hi Marcel!

According to https://developer.atlassian.com/cloud/bitbucket/modules/oauth-consumer/ the clientId is the OAuth consumer key that corresponds to the consumer registered for your app. You should already have this if you followed the steps on the article you linked, please try it and let us know how it goes!

Kind regards,

Ana

How to get my client_id ?

Like # people like this

How to get my client_id ?

Like MUTIJIMA ARTHUR likes this

How to get my client_id ?

Like MUTIJIMA ARTHUR likes this

How to get my client_id ?

@Khaled AbuShqear Did you even read the answer?

If you follow the instructions on either the link that is referred to in the answer, or https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/ you can find the "OAuth Consumer Key" as mentioned by @Ana Retamal

This Consumer key is the clientId.

Repeating your question without even doing the effort to read the answer does not sound very mature, and I can imagine someone not wanting to answer.

Like Zack Walsh likes this

I do not have rights to issue keys/client ids. But since I can pull all repos in the space I should be able to do it with the API too.

Would it work to use the cookie from my browser?

The client_id is the "consumer key" that you obtain from here:
https://bitbucket.org/EXAMPLE_WORKSPACE/workspace/settings/api
Click on "Add Consumer" finish adding it, then the "key" and "secret"will be under the newly created consumer's name

Thanks, that made my morning a lot easier...

First, OAuth is not an API or service: it is an open authorization standard that anyone can implement.

More specifically, OAuth is a standard that applications can use to provide "secure delegated access" to client applications. OAuth works over HTTPS Best Smart Doorbell 2021 and uses access tokens (not credentials) to authorize devices, APIs, servers, and applications.

There are two versions of OAuth: OAuth 1.0a and OAuth 2.0. These specifications are completely different from each other and cannot be used together: there is no backward compatibility between them.

Which is more popular? good question! Today, OAuth 2.0 is the most widely used form of OAuth. So, from now on, whenever I say "OAuth", I am talking about OAuth 2.0, because this is most likely what you want to use.

Thanks for this explanation. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events