-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResourceOwnerPasswordCredentials(app) fails with Unknown option config_prefix error #30
Comments
I was having the same issue... Apparently it has something to do with the
|
Also, werkzeug must be < 0.14.1 and Redis < 3. |
Trying to upgrade/use Eve 0.9.2 and I see the same issue currently. Any recent information what versions are currently needed for flask-sentinel to work with Eve 0.9.2 for flask-pymongo, werkzeug and Redis? Traceback (most recent call last): pymongo.errors.ConfigurationError: Unknown option config_prefix |
In pymongo 3.7.1 the MongoClient no longer accepts a keyword parameter config_prefix. This causes a failure when executing
ResourceOwnerPasswordCredentials(app)
I am not sure whether pymongo has a replacement for this functionality, but in any case it causes the whole system to not start up.
I subclassed ResourceOwnerPasswordCredentials and modified the init_app method to omit that parameter. Is there a more elegant solution?
Here is the stack trace:
The text was updated successfully, but these errors were encountered: