homeassistant updated jwt module to version 2 (#55911) , this jwt version
deprecated jwt.decode verify_expiration and require explicit
algorithms parameter (changelog). the deprecated may cause HAVCS update access_token's expiration
failed.
this pr fix this problem and make it works on jwt version 1 and version 2 both by check the jwt version and choice appropriate decode method.
homeassistant updated jwt module to version 2 (#55911) , this jwt version deprecated jwt.decode verify_expiration and require explicit algorithms parameter (changelog). the deprecated may cause HAVCS update access_token's expiration failed.
this pr fix this problem and make it works on jwt version 1 and version 2 both by check the jwt version and choice appropriate
decode
method.