You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn't find anything (or linked relevant results below)
Bug Description
The OIDC login flow fails in Firefox. After successful authentication callback, the page hangs indefinitely at "Sie werden eingeloggt" / "You are being signed in".
**OIDC error (consequence of Branding #1):**This is incompatible with Firefox's strict CSP enforcement when oidc-client-ts (or its wrapper) uses eval() / new Function() internally to process tokens.
Steps to Reproduce
Self-hosted OpenCloud 4.0.5 with internal IDP (Konnect)
Open OpenCloud URL in Firefox (latest stable)
Click login, enter credentials
After successful auth callback, page redirects to /web-oidc-callback?code=...&state=...
Page shows "Sie werden eingeloggt" and hangs forever
Works fine in Chrome, Edge (different CSP enforcement).
Expected Behavior
Login should complete and redirect to the main UI in any modern browser, including Firefox.
Workaround
Override the default CSP via PROXY_CSP_CONFIG_FILE_LOCATION with a custom csp.yaml that adds 'unsafe-eval' to script-src.
This works, but requires every Firefox-using OpenCloud admin to deploy this workaround. It also reduces the security posture of the default deployment.
Suggested Fix
Either:
Refactor the oidc-client-ts wrapper code to avoid eval() / new Function() (preferred)
Add 'unsafe-eval' to the default CSP shipped with OpenCloud (security tradeoff)
Document the Firefox incompatibility prominently and document the workaround in the official docs
Initial Checklist
Bug Description
The OIDC login flow fails in Firefox. After successful authentication callback, the page hangs indefinitely at "Sie werden eingeloggt" / "You are being signed in".
The browser console shows two related errors:
**CSP violation:**Source:
PortalTarget.vue_vue_type_script_lang-*.mjs**OIDC error (consequence of Branding #1):**This is incompatible with Firefox's strict CSP enforcement when
oidc-client-ts(or its wrapper) useseval()/new Function()internally to process tokens.Steps to Reproduce
/web-oidc-callback?code=...&state=...Works fine in Chrome, Edge (different CSP enforcement).
Expected Behavior
Login should complete and redirect to the main UI in any modern browser, including Firefox.
Workaround
Override the default CSP via
PROXY_CSP_CONFIG_FILE_LOCATIONwith a customcsp.yamlthat adds'unsafe-eval'toscript-src.This works, but requires every Firefox-using OpenCloud admin to deploy this workaround. It also reduces the security posture of the default deployment.
Suggested Fix
Either:
oidc-client-tswrapper code to avoideval()/new Function()(preferred)'unsafe-eval'to the default CSP shipped with OpenCloud (security tradeoff)Environment