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
{{ message }}
Repository navigation
Webserver redirects to main page when user is not logged in #36832
When opening the log of a specific Airflow DAG/log/whatever (like <my airflow host>/log?execution_date=<date>&task_id=<task_id>&dag_id=<dag_id>&map_index=<map_index>), the user is redirected to the login page if he's not logged in.
However, when the login is performed, the homepage of the webserver is shown, instead of the URL that was initially opened.
What you think should happen instead?
No response
How to reproduce
Enter into Airflow and copy the URL of a specific DAG (i.e <my host>/dags/<my_dag>/grid).
Log out
Paste the URL you copied -> you'll be redirected to the login page.
Activity
foldvari commentedon Jul 23, 2024
I still see the same issue in Airflow 2.8.4
But if I replace 'next_url' by 'next' in the URL then it starts working.
vincbeck commentedon Jul 23, 2024
What version of provider are you using? I guess the fixes you are looking for are here: #37225 and #37904
foldvari commentedon Jul 24, 2024
@vincbeck Thanks, it seems #37904 addresses the issue. Which version will have this fix?
Which provider are you interested in?
vincbeck commentedon Jul 24, 2024
#37904 is a provider change so it is not a matter of Airflow version, it is a matter for fab provider version. I cannot see from the PR which version of FAB provider it is in but if you use the last, it should fix your issue. https://pypi.org/project/apache-airflow-providers-fab/