André Duffeck
2b77cb9a17
Bump reva to v3.0.1
2026-11-17 12:45:18 +01:00
micbar
4e7ebd4f8c
fix: only trust forwarding headers from trusted reverse proxies
...
chi's ClientIPFrom* header middlewares trust the header from anyone who can
reach us. Pick the middleware per request instead: headers are only read
when the peer is a trusted proxy, everyone else gets their network address.
- PROXY_TRUSTED_PROXIES, defaults to loopback and private ranges
- PROXY_CLIENT_IP_HEADER, defaults to X-Forwarded-For, e.g. CF-Connecting-IP
- drop the strategy setting and xff_trusted_hops
- pass the client address to the services in X-Forwarded-For instead of
X-Client-Ip, reva reads it e.g. for OCM
- same check in collaboration, traefik routes to it directly
- OC_TRUSTED_PROXIES and OC_CLIENT_IP_HEADER set both services
- the other services only drop RealIP, none of them reads the address
Taken from #3864 and https://github.com/opencloud-eu/opencloud/pull/3464#issuecomment-6494799883
# Conflicts:
# services/proxy/README.md
2026-10-30 15:15:22 +01:00
Alex Ababii
cf0f06e060
select correct chi middleware to get real IP based on config values
2026-10-30 15:13:55 +01:00
Alex Ababii
850f1714a1
upd deprecated chi RealIP middelware
2026-10-30 15:13:54 +01:00
Christian Richter
8593a1409a
incorporate requested changes
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-06-03 16:28:44 +02:00
Christian Richter
d6c6340705
use ldap instead of ldaps internally
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-06-03 16:28:44 +02:00
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02:00
Christian Richter
cb9815acb1
fix yaml mappings
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 14:16:31 +01:00
Christian Richter
7f5a442750
consolidate log config in idp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 12:58:03 +01:00
Christian Richter
0372869b8b
refactor remaining code from urfave/cli
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
d322c0d390
migrate idp from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:25 +01:00
Jörn Friedrich Dreyer
10913ca00a
Merge pull request #1918 from opencloud-eu/otlp-tracing
...
update otlp tracing
2025-11-27 12:57:26 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
fschade
60501659c5
chore: bump %%NEXT%%
2025-11-27 10:53:59 +01:00
Roman Perekhod
c597dfb917
set default timeouts and clean up
2025-09-12 12:18:47 +02:00
Roman Perekhod
9a3fc08dd4
to separate controll ower the http and grpc driven services
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
9e1b80a1be
feat: use runners to startup the services
2025-09-12 12:18:47 +02:00
Jörn Friedrich Dreyer
cf916b8a2c
fix ready checks
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-07-14 14:12:40 +02:00
Ralf Haferkamp
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +02:00
Alex Ackermann
0e758c687b
feat: set idp logo defaul url
2025-04-29 09:54:25 +02:00
Christian Richter
d98b2bea3e
add missing entry to service.go
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-04-28 13:36:13 +02:00
Christian Richter
16307e036d
add new property IdentifierDefaultLogoTargetURI
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-04-28 13:36:13 +02:00
Michael Barz
cff4c78e8e
feat: add post logout redirect uris for mobile clients
2025-03-17 17:46:18 +01:00
54ab714a8f
add sign in page text ( #377 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Alex <abackermann91@gmail.com >
Co-authored-by: Michael Barz <mbarz@owncloud.com >
2025-03-14 10:50:58 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Alex Ackermann
cf5b4f7dbf
Change client names in idp
2025-02-11 09:52:32 +01:00
Ralf Haferkamp
0716b40fa0
Adjust LDAP Schema for new name
2025-01-29 11:58:57 +01:00
Ralf Haferkamp and Andre Duffeck
3ef390c16b
fix tld for ios client
...
Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com >
2025-01-28 11:18:41 +01:00
Ralf Haferkamp
58940798bc
Rebrand default IDP clients
2025-01-28 09:44:46 +01:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer
3df9ed3b91
use existing schema
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 12:26:46 +01:00
Jörn Friedrich Dreyer
95cd876ad8
leave supported clients as is
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 12:26:26 +01:00
Jörn Friedrich Dreyer
8e3ddfa725
idp
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:55:55 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
318ca21645
metrics, log and supervisor
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +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
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Juan Pablo Villafáñez
815b0cc3b9
fix: remove context from the session
2024-11-13 11:14:44 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Roman Perekhod
c16a2ea2cf
checks added
2024-10-17 19:03:14 +02:00
Florian Schade
0437722353
Bugfix: Fix health and ready endpoint checker configurations
2024-10-17 14:34:04 +02:00
Florian Schade
66ff86bd35
enhancement: simplify ready and health check handler usage
2024-10-16 20:26:00 +02:00
Christian Richter
a378596700
fix ldap check in idp
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-15 15:34:48 +02:00
Christian Richter
80d619cb8f
add http checks to idp & graph
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-15 13:47:39 +02:00
Christian Richter
61070e3187
fix sonar cube bugs
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-14 08:39:42 +02:00
Christian Richter
0094d30378
code cleanup & refactoring
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-14 08:39:42 +02:00