Aug 31, 2018 · 1 min read
Thank you for putting together this article. It’s quite to follow and understand. However, i have a question for you: Is the generated token also stored in the User table?
You are comparing user.token with the request header token here:
if not user.token['token'] == token in authenticate_credentials