-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Domenico Sibilio <[email protected]>
- Loading branch information
Showing
9 changed files
with
39 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
*Keycloak* is a central component responsible for identity-related capabilities needed by other Alfresco software, such as managing users, groups, roles, profiles, and authentication. Currently it deals just with authentication. This project contains the open-source core of this service. | ||
|
||
For installing Keycloak you can choose either a sample Kubernetes distribution or a sample standalone distribution. Both methods are described in the following sections. | ||
For upgrading, it is recommended to follow the official [Keycloak upgrading guide](https://www.keycloak.org/docs/24.0.3/upgrading/). | ||
For upgrading, it is recommended to follow the official [Keycloak upgrading guide](https://www.keycloak.org/docs/25.0.6/upgrading/). | ||
|
||
Check the [Kubernetes deployment prerequisites](https://github.com/Alfresco/alfresco-dbp-deployment/blob/master/README-prerequisite.md) and [standalone prerequisites](#prerequisites) before you start. | ||
|
||
|
@@ -65,7 +65,7 @@ http://<IP_ADDRESS>:8080/auth/admin/alfresco/console/ | |
|
||
#### Modifying the valid redirect URIs | ||
|
||
**Note**: for security reasons, the redirect URIs should be as specific as possible. [See Keycloak official documentation](https://www.keycloak.org/docs/24.0.3/securing_apps/#redirect-uris). | ||
**Note**: for security reasons, the redirect URIs should be as specific as possible. [See Keycloak official documentation](https://www.keycloak.org/docs/25.0.6/securing_apps/#redirect-uris). | ||
|
||
1. After logging in to the Alfresco realm follow the left side menu and choose clients. | ||
2. Choose the Alfresco client from the client list. | ||
|
@@ -146,7 +146,7 @@ The above steps will deploy _Keycloak_ with the **default example realm applied* | |
|
||
#### Changing Alfresco Client redirectUris | ||
|
||
**Note**: for security reasons, the redirect URIs should be as specific as possible. [See Keycloak official documentation](https://www.keycloak.org/docs/24.0.3/securing_apps/#redirect-uris). | ||
**Note**: for security reasons, the redirect URIs should be as specific as possible. [See Keycloak official documentation](https://www.keycloak.org/docs/25.0.6/securing_apps/#redirect-uris). | ||
|
||
You can override the default redirectUri of `http://localhost*` for your environment with the `realm.alfresco.client.redirectUris` property: | ||
|
||
|
@@ -201,7 +201,7 @@ For added resilience, we rely on support in the Keycloak chart for specifying mu | |
In addition, for high availability, Keycloak supports clustering. For more information on how to configure high availability and clustering, you can consult this additional documentation. | ||
|
||
|
||
[Keycloak-X chart Readme](https://github.com/codecentric/helm-charts/blob/keycloakx-2.2.1/charts/keycloakx/README.md#high-availability-and-clustering) | ||
[Keycloak-X chart Readme](https://github.com/codecentric/helm-charts/blob/keycloakx-2.5.1/charts/keycloakx/README.md#high-availability-and-clustering) | ||
|
||
|
||
[Configuring Keycloak for production](https://www.keycloak.org/server/configuration-production) | ||
|
@@ -256,21 +256,21 @@ helm install $RELEASENAME helm/alfresco-keycloak --devel \ | |
|
||
For further details see [Setting a Custom Realm](https://github.com/codecentric/helm-charts/tree/keycloak-18.0.0/charts/keycloak#setting-a-custom-realm). | ||
|
||
Once Keycloak is up and running, login to the [Management Console](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#using-the-admin-console) to configure the required realm. | ||
Once Keycloak is up and running, login to the [Management Console](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#using-the-admin-console) to configure the required realm. | ||
|
||
#### Manually | ||
|
||
1. [Add a realm](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#proc-creating-a-realm_server_administration_guide) named "Alfresco" | ||
1. [Add a realm](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#proc-creating-a-realm_server_administration_guide) named "Alfresco" | ||
|
||
2. [Create an OIDC client](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#_oidc_clients) named "alfresco" within the Alfresco realm | ||
2. [Create an OIDC client](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#_oidc_clients) named "alfresco" within the Alfresco realm | ||
|
||
3. [Create a group](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#proc-managing-groups_server_administration_guide) named "admin" | ||
3. [Create a group](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#proc-managing-groups_server_administration_guide) named "admin" | ||
|
||
4. [Add a new user](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#proc-creating-user_server_administration_guide) with a username of "testuser", email of "[email protected]" and first and last name of "test" | ||
4. [Add a new user](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#proc-creating-user_server_administration_guide) with a username of "testuser", email of "[email protected]" and first and last name of "test" | ||
|
||
#### Using the Sample Realm File | ||
|
||
1. Go to the [Add Realm](https://www.keycloak.org/docs/24.0.3/server_admin/index.html#proc-creating-a-realm_server_administration_guide) page and click the "Select File" button next to the **Import** label. | ||
1. Go to the [Add Realm](https://www.keycloak.org/docs/25.0.6/server_admin/index.html#proc-creating-a-realm_server_administration_guide) page and click the "Select File" button next to the **Import** label. | ||
|
||
2. Choose the [sample realm](./alfresco-realm.json) file and click the "Create" button. | ||
|
||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
KEYCLOAK_VERSION=24.0.3 | ||
KEYCLOAK_VERSION=25.0.6 | ||
THEME_VERSION=0.3.5 |
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
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