Skip to content

Commit b4ea1bb

Browse files
committed
add documentation about valid-post-redirect-uri
Signed-off-by: Thomas Telleis <thomas.telleis@eccenca.com>
1 parent 4c49ea3 commit b4ea1bb

File tree

1 file changed

+23
-1
lines changed
  • docs/deploy-and-configure/configuration/production-ready-settings

1 file changed

+23
-1
lines changed

docs/deploy-and-configure/configuration/production-ready-settings/index.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,34 @@ As stated in the [Keycloak Server Administration Guide](https://www.keycloak.org
1313

1414
> Make your registered redirect URIs as specific as possible. Registering vague redirect URIs for Authorization Code Flows may allow malicious clients to impersonate another client with broader access.
1515
16-
Corporate Memory uses the `cmem` client to authenticate against Keycloak, so adjust the **Valid Redirect URIs** field for this client.
16+
Corporate Memory uses the `cmem` client to authenticate against Keycloak, so adjust the **Valid Redirect URIs** and **Valid Logout Redirect URIs** fields for this client.
1717

1818
Select`cmem` realm, then **Clients** → `cmem` and enter your deploy URL, e.g., `https://cmem.example.net/*`.
19+
As valid-logout-redirect-uri we suggest the base basic URL of your deployment. e.g. `https://cmem.example.net/`.
20+
Once you restrict these URLs in Keycloak you might see error messages in your keycloak log indicating that those redirect uri's are not valid.
21+
Please update the settings accordingly.
1922

2023
![Keycloak: Client Settings: Valid Redirect URLs](23-1-keycloak-client-settings.png)
2124

25+
### Explore backend (DataPlatform) valid post redirect settings
26+
27+
For Explore backend (DataPlatform) you set this in `application.yml` or as environment variable
28+
29+
```yaml
30+
deploy.post-logout-redirect-uri: "${DEPLOY_BASE_URL}"
31+
```
32+
```bash
33+
DEPLOY_POST_LOGOUT_REDIRECT_URI=${DEPLOY_BASE_URL}
34+
```
35+
36+
### Build (DataIntegration) valid post redirect settings
37+
38+
For in Build backend (DataIntegration) you set this in `dataintegration.conf`.
39+
```conf
40+
TODO: post-logout-redirect-uri: "${DEPLOY_BASE_URL}"
41+
```
42+
43+
2244
## Password Policies
2345

2446
If you create users in Keycloak, make sure these users have strong passwords.

0 commit comments

Comments
 (0)