-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from stakater/external-keycloak
Add Keycloak integration configuration docs
- Loading branch information
Showing
10 changed files
with
117 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Integrating External Keycloak | ||
|
||
MTO Console uses Keycloak for authentication and authorization. By default, the MTO Console uses an internal Keycloak instance that is provisioned by the Multi Tenant Operator in its own namespace. However, you can also integrate an external Keycloak instance with the MTO Console. | ||
|
||
This guide will help you integrate an external Keycloak instance with the MTO Console. | ||
|
||
## Prerequisites | ||
|
||
- An OpenShift cluster with Multi Tenant Operator installed. | ||
- An external Keycloak instance. | ||
|
||
## Steps | ||
|
||
**Navigate to the Keycloak console.** | ||
|
||
- Go to your realm. | ||
- Click on the `Clients`. | ||
- Click on the `Create` button to create a new client. | ||
|
||
![Keycloak realm](../images/integrating-external-keycloak-1.png) | ||
|
||
**Create a new client.** | ||
|
||
- Fill in the `Client ID`, `Client Name` and `Client Protocol` fields. | ||
|
||
![Client creation](../images/integrating-external-keycloak-2.png) | ||
|
||
- Add `Valid Redirect URIs` and `Web Origins` for the client. | ||
|
||
![Client creation](../images/integrating-external-keycloak-3.png) | ||
|
||
> **Note:** The `Valid Redirect URIs` and `Web Origins` should be the URL of the MTO Console. | ||
- Click on the `Save` button. | ||
|
||
## Update Integration Config | ||
|
||
- Update the `IntegrationConfig` CR with the following configuration. | ||
|
||
```yaml | ||
integrations: | ||
keycloak: | ||
realm: <realm> | ||
address: <keycloak-address> | ||
clientName: <client-name> | ||
``` | ||
- Now, the MTO Console will be integrated with the external Keycloak instance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters