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
There are two applications: a frontend and a backend behind Teleport. The domains are ui.mteleport.com and back.mteleport.com.
The frontend sends a request to back.mteleport.com/adm/graph with the header Authorization: Bearer. The preflight request completes successfully, returning 200 and the Access-Control-Allow-Origin header.
The browser console log:
POST https://back.mteleport.com/adm/graph net::ERR_FAILED 302 (Found)
Access to fetch at 'https://back.mteleport.com/adm/graph' from origin 'https://ui.mteleport.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The text was updated successfully, but these errors were encountered:
There are two applications: a frontend and a backend behind Teleport. The domains are ui.mteleport.com and back.mteleport.com.
The frontend sends a request to back.mteleport.com/adm/graph with the header Authorization: Bearer. The preflight request completes successfully, returning 200 and the Access-Control-Allow-Origin header.
However, the subsequent fetch request returns 302 to address https://mteleport.com:443/web/launch/back.mteleport.com?path=%2Fadm%2Fgraph without the Access-Control-Allow-Origin header and is blocked by the browser.
Application Configurations:
Expected behavior:
The request returns 200.
Current behavior:
The request returns 302.
Bug details:
POST https://back.mteleport.com/adm/graph net::ERR_FAILED 302 (Found)
Access to fetch at 'https://back.mteleport.com/adm/graph' from origin 'https://ui.mteleport.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The text was updated successfully, but these errors were encountered: