How To Refresh an Access Token Using Decorators

Teaching you how to set up a framework for requesting new access tokens using Python decorators

Jonathan Hsu
Better Programming
Published in
2 min readAug 21, 2019

--

When I was creating a wrapper for the iFormBuilder API, which uses JWT for authentication, I began to run into challenges with longer scripts that extended beyond the expiration of a single JWT.

--

--