Microservices Classroomnotes 29/Dec/2021

Implementing JWT Tokens for django restframework

  • Refer Here for the changes done in the code
  • Refer Here for the changes done
  • Note: We need to fix the issue with token blacklisting as it is allowing the users to make calls to recipes event after blacklist
  • Fix for this problem:
  • Try to set the expiry time for ACCESS TOKEN to be less i.e. 1 minute
  • Once you logout your API will not respond after expiry as Default implementation of BlackListing black lists the refresh token Refer Here for the solution

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner