pallets-eco / flask-jwt

JWT (JSON Web Tokens) for Flask applications
MIT License
564 stars 178 forks source link

support of pyjwt 2.3.0 with flask-jwt 0.3.2 #148

Open struts2spring opened 2 years ago

struts2spring commented 2 years ago

Hi We need to update one method to support pyjwt 2.3.0 with flask-jwt 0.3.2 , I have modified in my local with below code . I am using python 3.10 .

def _default_auth_response_handler(access_token, identity): return jsonify({'access_token': access_token})