Skip to content

sujrd/insomnia-plugin-hmac-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HMAC Authentication Plugin

This plugin enables HMAC based authentication for requests in Insomnia REST Client. It works with REST and GraphQL requests.

Install (Source)

mkdir -p $HOME/.config/Insomnia/plugins
cd $HOME/.config/Insomnia/plugins
git clone https://github.com/sujrd/insomnia-plugin-hmac-auth.git insomnia-plugin-hmac-auth
cd insomnia-plugin-hmac-auth
npm install

Installation (Package)

Inside Insomnia plugin manager simply install the insomnia-plugin-hmac-auth plugin.

Usage

In you environment add these variables:

{
    UUID: "user name or uuid",
    SECRET: "sign secret"
}

Once these are defined, the plugin will add the following headers to every request:

X-Date: [date time of the request]
Authorization: APIAuth [uuid]:[signature]
MD5-Content: [md5 hash of the request body]

About

HMAC Authentication for insomnia REST client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published