# 'str' object has no attribute 'decode'
총 1개의 포스트
오류회고)AttributeError: 'str' object has no attribute 'decode'
token = jwt.encode(payload, SECRET_KEY, algorithm='HS256').decode('utf-8')최근에 pyjwt 라이브러리가 대대적인 업데이트를 겪으면서 이 코드가 작동하지 않는다고 한다.기존 버전에서는 jwt.encode()함수의
2022년 7월 14일
·
0개의 댓글·
0