johnseekins opened a new issue #9419: flask_oauthlib doesn't load properly URL: https://github.com/apache/incubator-superset/issues/9419 When trying to enable OAuth2 (with Okta) with superset (following documentation here: https://superset.incubator.apache.org/installation.html#custom-oauth2-configuration), the service fails to start. ### Expected results Superset starts up and can handle OAuth2 configs ### Actual results ``` Mar 30 20:18:50 use1-superset-1 gunicorn[8851]: ImportError: cannot import name 'url_quote' Mar 30 20:18:50 use1-superset-1 gunicorn[8851]: During handling of the above exception, another exception occurred: Mar 30 20:18:50 use1-superset-1 gunicorn[8851]: Traceback (most recent call last): Mar 30 20:18:50 use1-superset-1 gunicorn[8851]: File "/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/gunicorn/instrument/statsd.py", line 121, in _sock_send Mar 30 20:18:50 use1-superset-1 gunicorn[8851]: self.sock.send(msg) ``` #### How to reproduce the bug 1. Install recent superset (0.35.2) (`pip3 install apache-superset`) 2. install flask_oauthlib/authlib (`pip3 install flask_oauthlib Authlib`) 3. Enable OAuth2 in Superset config: ``` from flask_appbuilder.security.manager import AUTH_OAUTH AUTH_TYPE = AUTH_OAUTH ``` 4. See error ### Environment (please complete the following information): - superset version: `0.35.2` - python version: `3.6.8` - node.js version: `??` - npm version: `???` ### Checklist Make sure these boxes are checked before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
