Remove Flask-Security library due to performance issues #147
Labels
Backend 🏭
Stuff related to Backend part.
Enhancement 🌪
Things that improve our project.
P1
Things with #1 Priority
Expected Behavior
Calling
/api/v1/core/status
with authentication header should be as fast as possible.Actual Behavior
Requests with authentication header take waaaaaaay too long!
Steps to Reproduce the Problem
So now, you know your token:
As you can see it was really fast:
And it takes ages... (1.5 second!):
Additional comment
Issue on Flask-Security:
pallets-eco/flask-security-3.0#731
Blog post about proper authentication:
https://blog.miguelgrinberg.com/post/restful-authentication-with-flask
An implementation that uses tokens:
https://gist.github.com/gouthambs/0a509faf231cff3cdec7
The text was updated successfully, but these errors were encountered: