Atya created AIRFLOW-4025:
-----------------------------

             Summary:  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


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
(v7.6.3#76005)

Reply via email to