pyms icon indicating copy to clipboard operation
pyms copied to clipboard

JWT support

Open avara1986 opened this issue 5 years ago • 7 comments
trafficstars

Create a service to support JWT like https://github.com/python-microservices/oauth

avara1986 avatar Nov 30 '19 23:11 avara1986

Hello, just curious, I was checking the provided oauth microservice and I do see you guys are using flask-jwt. But wouldn't be better to use other library for jwt which has better maintenance and is up-to-date like as pyjwt as example?

Cheers!

KingDarBoja avatar Dec 18 '19 15:12 KingDarBoja

Hi @KingDarBoja! Thanks for your recommendation! :+1: We create the oauth MS with flask-jwt because it works with PyJWT, but we don't saw that flask-jwt has no maintenance. If someone want to create this service could be like # 62: The metrics with prometheus in python has got libraries with flask implementation with no maintenance and we create a similar implementation like these

avara1986 avatar Dec 18 '19 15:12 avara1986

I am interested on such thing but need some time to know more about this project along with its dependencies. Is there any gitter where you guys chatting and also answer question for newcomers?

KingDarBoja avatar Dec 20 '19 18:12 KingDarBoja

Is there any gitter where you guys chatting and also answer question for newcomers?

No, but it's good idea :smile: See https://github.com/python-microservices/pyms/pull/80

avara1986 avatar Dec 21 '19 14:12 avara1986

hey I am interested to know about this issue, can we use flask-jwt or flask-jwt-extended for this service

DiptoChakrabarty avatar Oct 14 '20 11:10 DiptoChakrabarty

Hey can I work on this , I think we can use flask jwt extended which is relatively much better maintained and up-to date compared to flask-jwt . I would like to send the PR in the oauth micro service repository

DiptoChakrabarty avatar Jul 04 '21 17:07 DiptoChakrabarty

It's a great Idea @DiptoChakrabarty :) Flask JWT Extended is more mantained than Flask JWT! :+1:

avara1986 avatar Jul 05 '21 07:07 avara1986