Commit Graph

573 Commits

Author SHA1 Message Date
Michael Stingl
d2d33e4d48 Harmonize Keycloak Client Configurations with Built-in IdP (#589)
* Harmonize Keycloak client configurations with built-in IdP

This change makes the Keycloak client configurations consistent with the built-in IdP:

1. Standardized client IDs to match built-in IdP:
   - web (unchanged)
   - OpenCloudDesktop (was random ID)
   - OpenCloudAndroid (was random ID)
   - OpenCloudIOS (was random ID)
   - Cyberduck (simplified ID)

2. Updated domain names to use .eu consistently:
   - Changed from opencloud.com to opencloud.eu for mobile apps
   - Changed from hardcoded domains to templated {{OC_URL}} values

3. Updated redirect URIs to match built-in IdP format:
   - Added specific callback paths for web client
   - Removed wildcarded ports for desktop client

4. Changed mobile/desktop clients to public clients (equivalent to native app type)

5. Enhanced docker-entrypoint-override.sh to handle {{OC_URL}} template variables

These changes ensure a consistent authentication experience regardless of
whether users are using the built-in IdP or Keycloak.

* Harmonize Keycloak client configuration with client JSONs

Update the realm configuration to match the client configuration JSON files:

1. Update client IDs to match client JSON files:
   - Changed 'xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69' to 'OpenCloudDesktop'
   - Changed 'e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD' to 'OpenCloudAndroid'
   - Changed 'mxd5OQDk6es5LzOzRvidJNfXLUZS2oN3oUFeXPP8LpPrhx3UroJFduGEYIBOxkY1' to 'OpenCloudIOS'

2. Fix additional client properties:
   - Fix client names: Use proper capitalization for all clients
   - Fix OAuth redirect URIs for Android and iOS to use .eu domain
   - Fix Desktop URIs by removing wildcard asterisks
   - Update post-logout redirect URIs to match client JSONs
   - Set publicClient flag to true for all mobile/desktop clients

These changes ensure that when the realm is imported during deployment,
the client configurations will match the client JSONs exactly.

* Update web client configuration in Keycloak realm

Harmonize the web client configuration in the realm:
- Add 'OpenCloud Web App' client name
- Change URLs to use {{OC_URL}} template variables
- Update redirect URIs to use specific paths instead of wildcard
- Set backchannel logout URL to use templated URL

This completes the harmonization of all client configurations in the realm.

* Revert template variable approach in Keycloak configuration

Reverted templating changes to match upstream conventions:

1. Removed template variable handling from docker-entrypoint-override.sh
   - Removed {{OC_URL}} replacement, keeping only domain replacement

This maintains compatibility with the upstream approach of using direct URLs
with domain substitution instead of template variables.

* Fix remaining old client ID references in role mappings

Updated the remaining references to old client IDs in the role mappings section:
- xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69 → OpenCloudDesktop
- e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD → OpenCloudAndroid
- mxd5OQDk6es5LzOzRvidJNfXLUZS2oN3oUFeXPP8LpPrhx3UroJFduGEYIBOxkY1 → OpenCloudIOS

This ensures all client ID references throughout the realm configuration are
consistent and use the simplified IDs.
2025-04-07 17:54:13 +02:00
Ralf Haferkamp
f25e191a46 fix(opencloud_full): add missing SMTP env vars
The compose example lacked support for setting various SMTP related
config vars. Even though some of them where present in the '.env' file.

Closes: #511
2025-04-03 14:05:04 +02:00
Alex
d02c854971 fix: full deployment tika description is wrong (#553) 2025-04-02 14:55:59 +02:00
Alex
91c2624c04 fix: traefik credentials (#555) 2025-04-02 14:45:34 +02:00
Jannik Stehle
b4a607965f chore: bump unzip extension to v1.0.2 2025-04-01 13:42:28 +02:00
Viktor Scharf
874601ab8f fix keycloak example #465 2025-03-31 10:24:03 +02:00
Viktor Scharf
495cb289e7 fix 2025-03-27 16:08:09 +01:00
Viktor Scharf
ec43da4ed1 Merge branch 'main' into addKeycloakExample 2025-03-27 11:52:24 +01:00
Viktor Scharf
cb243448cc move keycloak setup to opencloud_full 2025-03-27 11:45:46 +01:00
Artur Neumann
1607135488 fix tiny typo 2025-03-27 14:27:54 +05:45
Viktor Scharf
18e81d441a update version in bare metal 2025-03-27 07:29:00 +01:00
Viktor Scharf
39544371f8 add decomposed.yml 2025-03-26 13:20:02 +01:00
Jannik Stehle
6375de8167 chore: bump Collabora in deployment example and fix entrypoint
Bumps Collabora in the deployment example to `24.04.13.2.1` and fixes the entrypoint. It seems to have changed with newer versions of the docker image, hence we need to specify the entrypoint manually to make the start commands work.
2025-03-25 11:41:12 +01:00
Klaas Freitag
f94eedaee3 Clean invalid documentation links 2025-03-24 17:23:20 +01:00
Viktor Scharf
26e172cfad posix as system driver 2025-03-24 17:09:04 +01:00
Viktor Scharf
90e2221164 add keycloak example 2025-03-24 17:03:35 +01:00
Klaas Freitag
5953f950ef Bump opencloud version in bare-metal-simple script 2025-03-21 10:18:13 +01:00
Alex Ackermann
a07cf4d682 Remove wikipedia from app switcher in full deployment example 2025-03-11 15:07:46 +01:00
Alex
f5d4c0cc3d Fix csp.yaml for full deployment example (#345) 2025-03-11 13:27:30 +01:00
Klaas Freitag
f08e3e073d Remove the oc- prefix in the README 2025-03-05 11:32:31 +01:00
Klaas Freitag
11fe6bb9f4 Add the bare metal simple install script as example 2025-03-05 11:32:31 +01:00
Benedikt Kulmann
cdf19b6e26 Merge pull request #286 from opencloud-eu/extensions-in-full-example
feat: use extensions in full example
2025-03-03 09:09:58 +01:00
Felix Dobler
71d4328e93 fix: set compose path separator for windows support 2025-03-01 22:57:09 +01:00
Benedikt Kulmann
4c6ad216f1 feat: use extensions in full example 2025-02-28 16:42:15 +01:00
Viktor Scharf
e25f93f751 use opencloud rolling image in the full example 2025-02-27 10:55:09 +01:00
Benedikt Kulmann
222d97d937 fix: docker image names 2025-02-25 12:32:41 +01:00
Jörn Friedrich Dreyer
3d1c6fb166 Merge pull request #225 from opencloud-eu/posix-in-full-deployment
add posix to full deployment
2025-02-21 15:41:38 +01:00
Jörn Friedrich Dreyer
375ef2798e use new env vars for minio account
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-21 15:08:03 +01:00
Jörn Friedrich Dreyer
09105e9e8f add posix to full deployment
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-21 14:36:52 +01:00
Jörn Friedrich Dreyer
74b6078158 bump reva, change decomposeds3 drivername
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-20 11:07:31 +01:00
Viktor Scharf
5bdea318c2 delete issue link from feature files 2025-02-04 15:58:28 +01:00
Ralf Haferkamp
734a1dc76b Adjust educational LDAP Attribute and Objectclasses
This is largely untested and might need further adjustments, but should
be "good enough" to not block us for now.
2025-01-29 11:59:06 +01:00
Ralf Haferkamp
0716b40fa0 Adjust LDAP Schema for new name 2025-01-29 11:58:57 +01:00
Jannik Stehle
ebc0fc592b chore: debrand leftovers in deployment examples 2025-01-28 14:35:25 +01:00
Jörn Friedrich Dreyer
e2c725c776 .env cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-27 17:15:22 +01:00
Jörn Friedrich Dreyer
3900a08049 Merge pull request #118 from opencloud-eu/switch-to-decomposed-decomposed-s3
Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
2025-01-27 16:43:40 +01:00
André Duffeck
69a374dbec Adapt deployment examples to the latest rego changes
See
aecc367e9f
for more details
2025-01-27 15:21:45 +01:00
André Duffeck
57fa8eb43c Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
2025-01-24 11:04:23 +01:00
Jörn Friedrich Dreyer
b0f32d33ca string occurrences
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-22 15:16:31 +01:00
Florian Schade
5662826476 Merge pull request #100 from opencloud-eu/wording
drop infinite scale
2025-01-21 16:00:46 +01:00
André Duffeck
f106e848bf Some more naming fixes 2025-01-21 15:49:40 +01:00
Jörn Friedrich Dreyer
7be14bf8a4 drop infinite scale
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-21 15:09:07 +01:00
Michael Barz
8730584067 refactor: debrand docker compose deployments -S 2025-01-20 16:24:13 +01:00
Ralf Haferkamp
213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
Martin Mattel
27812f390d [docs-only] Update image versions for ocis-full 2025-01-08 20:07:31 +01:00
Michael Barz
f4b4fe31ef chore: change access to deployments 2024-12-18 16:02:25 +01:00
Michael Barz
860e1ad9ea chore: bump version, change production CD 2024-12-17 10:48:20 +01:00
Martin Mattel
4c43661664 [docs-only] Update deployment example images 2024-12-12 11:58:34 +01:00
Ralf Haferkamp
7305694eb3 Remove my ssh key for cd deployments 2024-12-11 12:47:28 +01:00