Bug 1781035
| Summary: | 403 Forbidden error for Prometheus experimental React UI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> | ||||
| Component: | Monitoring | Assignee: | Simon Pasquier <spasquie> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 4.3.0 | CC: | alegrand, anpicker, erooth, kakkoyun, lcosic, mloibl, pkrupa, spasquie, surbania | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | 4.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | groom | ||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-05-06 13:16:13 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1824227 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Junqi Zhao
2019-12-09 06:31:25 UTC
After investigating with Junqi, this is due to the browser not sending the Cookie header to the OAuth proxy server. It can't be reproduced with recent versions of Firefox and Chromium (eg they send the Cookie header).
IIUC the fetch API used to avoid sending cookies by default ("credentials: 'omit'") but this has changed to "credentials: 'same-origin'" about 2 years ago:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
https://github.com/whatwg/fetch/pull/585
Changing the priority to Low since it only affects older browsers.
|