jihyunjeongme / python-restapi-minitwitter

sign up coding
0 stars 0 forks source link

token = jwt.encode(payload, app.config["JWT_SECRET_KEY"], "HS256") KeyError: 'JWT_SECRET_KEY' #3

Closed jihyunjeongme closed 5 years ago

jihyunjeongme commented 5 years ago

config.py에 아래 코드 추가해줘야 함

JWT_SECRET_KEY = "SOME_SUPER_SECRET_KEY"