An Insomnia plugin to save a access token from a login/auth request to be used in subsequent request through a template variable.
The saved token is accessed through a template variable and can be used in request parameters, headers etc.
Edit the settings of the template variable in order to define which URL the plugin should listen to and what the parameter is called that contains the access token. Note that before you run your login request there will be no token to preview.