owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
421 stars 157 forks source link

OCM. failure when navigating to the /ocm/invitations page #11153

Open ScharfViktor opened 2 weeks ago

ScharfViktor commented 2 weeks ago

precondition:

Steps:

Actual: this page isn't working 401 Unauthorized

https://github.com/owncloud/web/assets/84779829/91325f77-d0c8-46b5-b1e7-94cc0e639728

kulmann commented 1 week ago

This happens because the app route starts with /ocm and all /ocm http requests are being routed to the http part of the ocm service, see https://github.com/owncloud/ocis/blob/ce199d56ab83d7aedc44f9c74439a7b2e60464af/services/proxy/pkg/config/defaults/defaultconfig.go#L169

Easiest would be to come up with a different web app name. Or we could be more specific in the server routes instead of catching everything that goes to /ocm. Then all the unknown routes would be routed to web.