Steexyz commented on issue #55143:
URL: https://github.com/apache/airflow/issues/55143#issuecomment-3275754077

   I'd like to better understand if that's the cause of my issue right now, so 
I have a question.
   
   I'm deploying Airflow to a GKE cluster and when port forwarding in order to 
access the UI.
   
   `gcloud container clusters get-credentials gke-n-cdpairflow-nane1 --region 
REGION --project PROJECT \
    && kubectl port-forward --namespace airflow $(kubectl get pod --namespace 
airflow --selector="component=api-server,release=airflow,tier=airflow" --output 
jsonpath='{.items[0].metadata.name}') 8080:8080`
   
   When trying to access the UI after I'm getting this error message:
   
   `{"detail":"Invalid or unsafe next URL"}`
   
   The URL being accessed is:
   
   
https://hostname.cs-us-east1-rtep.cloudshell.dev/api/v2/auth/login?next=https%3A%2F%2Fhostname.cs-us-east1-rtep.cloudshell.dev%2Fapi%2Fv2%2Fauth%2Flogin
   
   <img width="452" height="99" alt="Image" 
src="https://github.com/user-attachments/assets/0b283cc9-d647-4c7d-9138-2428f9c10063";
 />
   
   <img width="1913" height="276" alt="Image" 
src="https://github.com/user-attachments/assets/7275fce5-f816-4216-8c12-137799c9d149";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to