Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
docs: Updated the OAuth section of the README
Browse files Browse the repository at this point in the history
  • Loading branch information
quintesse authored Apr 22, 2020
1 parent 3fdda3e commit e5fa635
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,21 @@ And depending on the Git provider you're using you'll also have to follow the st

#### GitHub

Create an [OAuth App](https://github.com/settings/developers) named "launcher" and copy the `Client ID` and `Client Secret` values to their corresponding fields
in the GitHub section of the [git-providers.yml](/fabric8-launcher/launcher-application/master/git-providers.yaml) file.
Create an [OAuth App](https://github.com/settings/developers) named "launcher" and set the `Authorization callback URL`
to the (base) URL of the Launcher frontend. If you're testing locally this would be `http://localhost:8080/launch` for example.

Then copy the `Client ID` and `Client Secret` values to their corresponding fields in the GitHub section of the
[git-providers.yml](/fabric8-launcher/launcher-application/master/git-providers.yaml) file.

#### GitLab

Create an [OAuth App](https://gitlab.com/profile/applications) named "launcher" (also mark "Confidential" and "api") and copy the `Client ID` and `Client Secret`
values to their corresponding fields in the GitLab section of the [git-providers.yml](/fabric8-launcher/launcher-application/master/git-providers.yaml) file.
Create an [OAuth App](https://gitlab.com/profile/applications) named "launcher", mark "Confidential" and "api" and set the
`Callback URL` to the (base) URL of the Launcher frontend. If you're testing locally this would be `http://localhost:8080/launch`
for example.

Also update the `clientProperties / redirectUri` value and set it to the URL of the Launcher frontend.
If you're testing locally this would be `http://localhost:8080/launch` for example.
Then copy the `Client ID` and `Client Secret` values to their corresponding fields in the GitLab section of the
[git-providers.yml](/fabric8-launcher/launcher-application/master/git-providers.yaml) file. Also copy the `Callback URL`
to the `clientProperties / redirectUri`.

Filtering the booster catalog
-----------------------------
Expand Down

0 comments on commit e5fa635

Please sign in to comment.