Closed mkscala closed 7 years ago
Maybe this simple backend implementation module might help Flask-Simple-JWT
@shantanoo-desai thanks for the link, I found sometime and started the implementation. Should be completed soon.
I actually tried it out yesterday and I can access a protected API with the JWT token. For this repo it makes sense to use flask-simple-jwt
for complex ones there is some extended library
https://github.com/ansrivas/angular2-flask/tree/0.2.0 implements this. I have also created an automated build with dockerhub. You can test it from master already.
If we are in sync with what you are doing for the next TODO then we might need angular2-jwt
node module on the frontend and then use JWT_EXPIRES
time from the server?
(I mean in terms of token expiry on the frontend and session management)
Yes, indeed that's the next step. But due to lack of time, I will put it on hold. Feel free to send a pull request though.
👍 Same here. Maybe on the weekend I might look into it.
Is it possible to add angular2-jwt Auth0? https://medium.com/@blacksonic86/angular-2-authentication-revisited-611bf7373bf9#.ut4n3xu78