pydio / pydio-core

Pydio 8 official repository
https://pydio.com
GNU Affero General Public License v3.0
867 stars 289 forks source link

HTTP auth breaks pydio #1406

Closed kethinov closed 6 years ago

kethinov commented 6 years ago

Same issue described here: https://pydio.com/forum/f/topic/401-from-react-fetch/

@cdujeu asked for a GitHub issue to be filed, so I'm filing one here:

Example use case: Deploy pydio (which depends on systemjs) to an environment which requires presenting PKI certs for all HTTP traffic, including JS fetch requests.

At present with the current version of systemjs, that use case is broken in Firefox and Safari.

I submitted a PR to systemjs here https://github.com/systemjs/systemjs/pull/1782

Once it is merged and released, the dependency in pydio will need to be upgraded.

kethinov commented 6 years ago

The systemjs guys are saying pydio should set meta: { '*': { authorization: true } } in your systemjs config to resolve this rather than accepting the PR that I sent them which alters systemjs itself to presents credentials for same origin fetch requests by default.

c12simple commented 6 years ago

Hi, I add the meta as you mentioned. https://github.com/pydio/pydio-core/commit/c24e8374831b7fb0fe55bbb56b329bef42780233