Closed sillydan1 closed 3 years ago
Right now I am using redis version redis~=3.5.3
and I haven't been looking into downgrading that yet. Will look into that, but I don't have high hopes
Downgrading to redis version 2.10.6 seems to fix this issue. Please add it to the requirements
Whenever I try to perform an
/oauth/token
request, I get a 500 error (see below). I believe it is caused when saving the access token to the redis cache indata.py:161
, whereaccess_token
is interpreted as anObjectId
which redis does not like. Could a simple string-cast fix this? Or maybe even casting it to a byte-array?I tried to downgrade to v0.0.6, but it is using some super ancient version of flask-pymongo where the package naming is styled
flask.ext.whatever
and I would have to go VERY far back in time (4 years or so) to make that compatible, which is obviously not preferable.Here's a tracedump:
Note: My setup is a network of docker containers, where flask-sentinel is used via eve, hence the
rest_api
name.