rjtshrm commented on issue #33586:
URL: https://github.com/apache/airflow/issues/33586#issuecomment-1689797687
Thanks @vincbeck. There is another issue when using oauth auth, I get error
on login but it was working fine on previous version of airflow
```
[2023-08-23T11:27:20.737+0000] {manager.py:1129} ERROR - OAUTH userinfo does
not have username or email {}
[2023-08-23T11:27:20.738+0000] {app.py:1744} ERROR - Exception on
/oauth-authorized/aws_cognito [GET]
Traceback (most recent call last):
File "/home/airflow/.local/lib/python3.11/site-packages/flask/app.py",
line 2529, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/flask/app.py",
line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/flask/app.py",
line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/flask/app.py",
line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/airflow/.local/lib/python3.11/site-packages/flask_appbuilder/security/views.py",
line 693, in oauth_authorized
return redirect(self.appbuilder.get_url_for_login)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'AirflowAppBuilder' object has no attribute
'get_url_for_login'
```
Do you have any idea about this behaviour?
--
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]