GayathriSrividya opened a new pull request, #67965: URL: https://github.com/apache/airflow/pull/67965
Fixes #67476\n\nWhen unauthenticated users open a deep link, some login paths call get_url_login(next_url=...).\nSimpleAuthManager ignored this kwarg, so it always redirected to /auth/login or /auth/token/login\nwithout preserving next, which led to landing on homepage after first login.\n\nThis change makes SimpleAuthManager.get_url_login honor optional next_url by appending\na URL-encoded next query parameter for both regular and all-admin login endpoints.\n\nAdded unit tests for:\n- regular login with next_url\n- all-admin login with next_url\n\nValidation:\n- /opt/homebrew/bin/ruff format + check --fix passed\n- Local pytest run failed in this workspace due missing test dependency: tests_common\n\n- [x] I used AI assistance to help prepare this PR. -- 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]
