[KEYCLOAK-5817] Create documentation for BitBucket social IdP
Co-authored-by: Matthew Helmke <matthew@matthewhelmke.com>
This commit is contained in:
parent
e81b3a2f0b
commit
e96380154c
7 changed files with 36 additions and 0 deletions
BIN
server_admin/images/bitbucket-app-page.png
Normal file
BIN
server_admin/images/bitbucket-app-page.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
server_admin/images/bitbucket-developer-applications.png
Normal file
BIN
server_admin/images/bitbucket-developer-applications.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
BIN
server_admin/images/bitbucket-register-app.png
Normal file
BIN
server_admin/images/bitbucket-register-app.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
server_admin/keycloak-images/bitbucket-add-identity-provider.png
Normal file
BIN
server_admin/keycloak-images/bitbucket-add-identity-provider.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
BIN
server_admin/rhsso-images/bitbucket-add-identity-provider.png
Normal file
BIN
server_admin/rhsso-images/bitbucket-add-identity-provider.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
|
@ -73,6 +73,7 @@ include::topics/identity-broker/social/microsoft.adoc[]
|
|||
include::topics/identity-broker/social/paypal.adoc[]
|
||||
include::topics/identity-broker/social/stack-overflow.adoc[]
|
||||
include::topics/identity-broker/social/openshift.adoc[]
|
||||
include::topics/identity-broker/social/bitbucket.adoc[]
|
||||
include::topics/identity-broker/oidc.adoc[]
|
||||
include::topics/identity-broker/saml.adoc[]
|
||||
include::topics/identity-broker/suggested.adoc[]
|
||||
|
|
35
server_admin/topics/identity-broker/social/bitbucket.adoc
Normal file
35
server_admin/topics/identity-broker/social/bitbucket.adoc
Normal file
|
@ -0,0 +1,35 @@
|
|||
==== Bitbucket
|
||||
There are a number of steps you have to complete to be able to login to Bitbucket.
|
||||
|
||||
First, open the `Identity Providers` left menu item and select `Bitbucket` from the `Add provider` drop down list. This will bring you to the `Add identity provider` page.
|
||||
|
||||
.Add Identity Provider
|
||||
image:{project_images}/bitbucket-add-identity-provider.png[]
|
||||
|
||||
Before you can click `Save`, you must obtain a `Client ID` and `Client Secret` from Bitbucket.
|
||||
|
||||
NOTE: You will the `Redirect URI` from this page in a later step, which you will provide to Bitbucket when you register {project_name} as a client there.
|
||||
|
||||
.Add a New App
|
||||
To enable login with Bitbucket you must first register an application project in
|
||||
https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html[OAuth on Bitbucket Cloud].
|
||||
|
||||
NOTE: Bitbucket often changes the look and feel of application registration, so what you see on the Bitbucket site may differ. If in doubt, see the Bitbucket documentation.
|
||||
|
||||
image:images/bitbucket-developer-applications.png[]
|
||||
|
||||
Click the `Add consumer` button.
|
||||
|
||||
.Register App
|
||||
image:images/bitbucket-register-app.png[]
|
||||
|
||||
Copy the `Redirect URI` from the {project_name} `Add Identity Provider` page and enter it into the `Authorization callback URL` field on the Bitbucket `Register a new OAuth application` page.
|
||||
|
||||
On the same page, mark the `Email` and `Read` boxes under `Account` to allow your application to read user email.
|
||||
|
||||
.Bitbucket App Page
|
||||
image:images/bitbucket-app-page.png[]
|
||||
|
||||
When you are done registering, click `Save`. This will open the application management page in Bitbucket. Find the client ID and secret from this page so you can enter them into the {project_name} `Add identity provider` page.
|
||||
+
|
||||
+To finish, return to {project_name} and enter them. Click `Save`.
|
Loading…
Reference in a new issue