You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (Jira)" <ji...@apache.org> on 2021/05/05 08:38:00 UTC
[jira] [Closed] (AIRFLOW-4025) Rolled my own auth but got error -
ValueError('View function did not return a response')
[ https://issues.apache.org/jira/browse/AIRFLOW-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor closed AIRFLOW-4025.
--------------------------------------
Resolution: Cannot Reproduce
> Rolled my own auth but got error - ValueError('View function did not return a response')
> -----------------------------------------------------------------------------------------
>
> Key: AIRFLOW-4025
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4025
> Project: Apache Airflow
> Issue Type: Bug
> Components: webserver
> Reporter: Atya
> Priority: Critical
>
> As suggested in the docs to roll a different auth for airflow web below conf need to set
> [webserver]
> authenticate = True
> auth_backend = mypackage.auth,
>
> I added this in python path, It picked the correct module but It gives an error in the end after doing all the functionality.
> Like wise other modules of auth I added
> return redirect(request.args.get("next") or url_for("index")) in the end
> ERROR in app: Exception on /admin/airflow/login [GET]
> raise ValueError('View function did not return a response')
--
This message was sent by Atlassian Jira
(v8.3.4#803005)