THAT Insomnia Signing Plugin
Insomnia plugin for signing THAT Requests from Insomnia
This plugin is scoped to
@thatconference and therefore doesn't appear on Insomnia's Plugin Hub.
- From Insomnia go to Preferences, Plugins tab
Reveal Plugins Folderbutton
- This will open the plugins folder a. MacOS: /Users/username/Library/Application Support/Insomnia/Plugins
- Open a terminal pointing to the directory
npm install @thatconference/insomnia-plugin-that-signing
After refreshing the Plugins tab in Insomnia you should see this plugin listed.
The signature needs to be sent as a Request Header. While setting up your header in Insomnia, for the header's value, press <ctrl+space> to get a list of
tags. Use the
THAT Signature tag. When you click on the tag a form for values is opened. The
Signing Key field is required. Set your environment value for the signing key in this field.
Live Preview field will show something like,
~headerdataplaceholder~ when all is set.
Troubleshooting and throwing errors in Insomnia Plugins isn't great. If you discover that a signature value is not being sent try looking in the console (view > Toggle Dev Tools) and review the output from the plugin.
When there is an error which was swallowed by Insomnia, the Timeline tag will be blank and no request would have been made.