Julian Koberg and Claude Opus 4.6
5b29a68fe2
fix(proxy): [OCISDEV-845] skip space reconciliation on signed URL requests
...
The space management middleware removed users from all project spaces
when processing signed URL requests because no OIDC claims are present
in that auth context. Return early when claims are nil to prevent the
oscillating add/remove cycle.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2026-05-06 16:09:31 +02:00
Michal Klos
5586e75e40
feat: add globalID for EK users
2026-03-09 10:10:40 +01:00
Juan Pablo Villafáñez
d3f328320a
feat: propagate GRPC metadata across go-micro services
...
The server handlers for go-micro reuse the data from reva so the
propagation also works with reva services.
Both reva and go-micro services will propagate the data correctly.
2026-01-23 12:05:18 +01:00
Juan Pablo Villafáñez
2b344bffe6
feat: implement brute force protection for public shares
2026-01-23 12:05:18 +01:00
Michal Klos
1d0559866e
fix: Strict-Transport-Security via proxy
2026-01-05 15:15:48 +01:00
Julian Koberg
ace084dc10
feat: clean up multi-instance-ocis
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-12-15 10:46:51 +01:00
Julian Koberg
b5a765124b
feat: multi-instance-ocis
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-12-15 10:46:51 +01:00
Lukas Hirt
f0b2693cd3
feat(proxy): [OCISDEV-342] set referrer-policy to no-referrer
...
Change the Referrer-Policy from 'strict-origin-when-cross-origin'
to 'no-referrer' to enhance user privacy and security.
Previously, the origin was sent on cross-origin requests. This change
completely removes the Referrer header from all outgoing requests,
preventing any potential leakage of browsing information to third parties.
This is a more robust approach to protecting user privacy.
2025-10-27 09:38:36 +01:00
Julian Koberg
f9c095b36e
Revert "fix: [OCISDEV-237] fix proxy"
...
This reverts commit 7ec667d4b1 .
2025-10-01 15:20:16 +02:00
Lukas Hirt
c620c0c030
Merge pull request #11687 from owncloud/feat/drop-remote-php
...
[full-ci] feat: [OCISDEV-330] drop remote.php prefix
2025-09-25 09:36:49 +02:00
kobergj
2f1ab88b8b
Merge pull request #11603 from owncloud/oidc_claims_checker
...
feat: add a way to check for specific OIDC claims
2025-09-24 13:43:53 +02:00
Lukas Hirt
1b83d986f9
feat: [OCISDEV-330] drop remote.php prefix
...
The `remote.php` prefix is now fully optional in WebDAV endpoints and is never returned in responses.
2025-09-24 11:25:27 +02:00
Julian Koberg
dda6104722
feat: document mfa package
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-09-18 16:23:14 +02:00
Julian Koberg
824a71dbe2
feat: clean up mfa middleware
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-09-17 15:56:04 +02:00
Lukas Hirt
dcd3dc6a77
fix: [OCISDEV-330] add OCS v2 capabilities endpoint to public paths
...
Following the same behavior as OCS v1, we added the OCS v2 capabilities
endpoint to the public paths.
2025-09-17 14:54:16 +02:00
Julian Koberg
eeeeba199b
feat: move mfa checks to handlers
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-09-17 12:42:28 +02:00
Julian Koberg
5052c65526
feat: use middleware for mfa checks
...
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com >
2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez
7b053e808a
fix: adjust unit tests
2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez
c0e5c1678d
feat: allow custom headers on authentication failures
2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez
ed95f21269
feat: add a way to check for specific OIDC claims
...
For now, only some hardcoded paths will check the claims (if there is a
checker configured). If the check fails for those paths, the
authentication will fail and it will return a 401 error
2025-09-17 12:42:28 +02:00
Roman Perekhod
1800cc85b1
Merge pull request #11628 from 2403905/issues/OCISDEV-278
...
feat: [OCISDEV-278] X-XSS-Protection header removed
2025-09-16 16:39:34 +02:00
Michal Klos
70dd34eb84
fix: [ocisdev-266] code scan #27
2025-09-04 15:14:19 +02:00
Roman Perekhod
7ec667d4b1
fix: [OCISDEV-237] fix proxy
2025-09-04 11:38:06 +02:00
Roman Perekhod
d9bf69014f
feat: [OCISDEV-278] X-XSS-Protection header removed
2025-09-02 18:02:53 +02:00
Roman Perekhod
55fe5bd3ec
feat: [OCISDEV-147] use the signing-key for a public link
2025-08-19 17:42:26 +02:00
Juan Pablo Villafañez
a46cd29cc9
Merge pull request #11573 from owncloud/otelhttp_for_tracing
...
Otelhttp for tracing
2025-08-07 13:48:02 +02:00
Michal Klos
112ed96f2b
fix: hsts
2025-08-04 11:54:12 +02:00
Juan Pablo Villafáñez
01a9713b52
feat: use otelhttp for tracing, fix tracing in proxy
...
otelchi and other custom solutions have been replaced with otelhttp to
trace HTTP requests; new middleware is provided to be used across the
platform.
The proxy service will use a custom HTTP client to forward the headers
needed for telemetry automatically (also based on otelhttp)
2025-07-31 11:06:33 +02:00
Michal Klos
6e118bb6c5
fix: cookies, missing SameSite
2025-06-12 10:49:44 +02:00
Michal Klos
ae73db933b
fix: cookie, missing secure flag
2025-06-10 10:24:58 +02:00
Julian Koberg
746adb66b0
feat(proxy): allow multiple space claims
...
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local >
2025-05-06 15:23:31 +02:00
Julian Koberg
02072c37c4
feat(proxy): claim managed spaces
...
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local >
2025-04-30 17:20:23 +02:00
Roman Perekhod
bb9d09b627
Allow the app-auth announce www-authenticate: basic header.
2025-03-12 09:18:38 +01:00
Julian Koberg
b979844791
feat(ocis): adjust reva imports
...
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local >
2025-03-05 11:14:44 +01:00
Juan Pablo Villafáñez
69864b8ab9
feat: improve logs when a context is canceled in the proxy
2024-11-19 11:25:40 +01:00
Roman Perekhod
3a060331f7
fixed an idp guest role default assignment
2024-11-07 17:57:01 +01:00
Jörn Friedrich Dreyer
7fd8284daf
mark header to not show up as a potential password leak G101
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 10:57:01 +02:00
André Duffeck
bea1deebba
Work around a problem with reverse proxies changing URLs being signed
...
Fixes https://github.com/owncloud/ocis/issues/10180
2024-10-04 09:50:58 +02:00
Ralf Haferkamp
cb8934081f
proxy(oidc): Emit a UserSignedIn event on new session
...
Every time the OIDC middleware sees a new access token (i.e when it needs
to update the userinfo cache) we consider that as a new login. In this case
the middleware add a new flag to the context, which is then used by the
accountresolver middleware to publish a UserSignedIn event.
The event needs to be sent by the accountresolver middleware, because only
at that point we know the user id of the user that just logged in.
(It would probably makes sense to merge the auth and account middleware into a
single component to avoid passing flags around via context)
2024-09-17 16:02:47 +02:00
Ralf Haferkamp
109b23966c
bump some jwt related go modules to current version
...
go-jwt/jwt to v5.2.1
MicahParks/keyfunc to v2.1.0
2024-08-26 15:35:15 +02:00
Juan Pablo Villafañez
faf162704e
Merge pull request #9684 from owncloud/collaboration_improved_tracing
...
feat: include additional metadata for tracing the collaboration service
2024-08-13 11:35:52 +02:00
jkoberg
e7fd04bbe3
feat(tusd): bump tusd pkg to v2.4.0
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-08-07 09:13:50 +02:00
Juan Pablo Villafáñez
a5d27b2f98
feat: include additional metadata for tracing the collaboration service
2024-08-05 13:15:12 +02:00
jkoberg
3b3d30159d
fix(proxy): fix build after rebase
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-07-23 08:58:07 +02:00
Thomas Müller
7005cbc0fc
feat: add unit test for app auth middleware
2024-07-23 08:58:07 +02:00
Thomas Müller
4fa7ea0b20
feat: add cli command to generate app token for user
2024-07-23 08:58:07 +02:00
Thomas Müller
43403edfb8
feat: reva app auth
2024-07-23 08:58:07 +02:00
Jörn Friedrich Dreyer
b2255bb3d5
Log user agent and remote addr on auth errors
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-16 12:41:04 +02:00
Ralf Haferkamp
ff6674f97b
Fix fallout of reva bump
...
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
Ralf Haferkamp
0d65908e82
autoprovisioning: sync group memberships
...
Add support for autoprovisioning group memberships from OIDC claims.
Users are added to and removed from groups based on the value of an OIDC
claim. If a group does not exist, it is created.
Closes : #5538
2024-07-08 09:32:23 +02:00