Commit Graph

115 Commits

Author SHA1 Message Date
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
CodyDWJones
d2d29bd1e1 Add Audience parameter for Resource Owner Password Credentials (#1677) 2019-09-17 11:59:59 -07:00
Gregory Schier
a83596299a
Fix Response Tag infinite recursion (#1502)
* Improvements to Response tag recursion and rendering (Fixes #1500)

* Add tests for response tag dependency sending
2019-05-15 16:01:36 -04:00
Gregory Schier
d29db04b33 Keep OAuth 2.0 refresh token if a new one is not returned (Fixes #1492) 2019-05-09 21:44:22 -04:00
Gregory Schier
17f3c1491b Print timestamp at the start of response Timeline 2019-05-09 13:38:36 -04:00
Gregory Schier
d8066bc558 Add ability for plugins to add folder actions (#774) 2019-05-04 16:34:52 -04:00
Gregory Schier
4b41c8c360 New render purpose for request/response hooks (Fixes #1341) 2019-05-03 10:53:18 -04:00
Gregory Schier
dce5f320c3 Refactor settings and store timeline separately 2019-04-27 01:46:10 -07:00
Gregory Schier
300ede1ff9 Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1396 2019-04-18 10:23:15 -07:00
Dario Nieuwenhuis
6b24456835 Add support for extracting id_token from oauth2 implicit flow redirect. (#1408) 2019-04-17 18:14:40 -07:00
Ryan Plessner
d22e05ac34 Add ability to optionally use Hawk payload validation. (#1339)
* Add ability to optionally use Hawk payload validation.

* Simplify signature of 'getAuthHeader'
2019-03-11 17:52:48 -04:00
Rafael Renan Pacheco
8112f5d625 Fetch new access and refresh tokens when refresh fails (#1338)
* Fetch new access and refresh tokens when refresh fails

* Fix typo
2019-01-21 11:38:44 -05:00
Gregory Schier
eee0bfe023 Fix tests 2018-12-14 13:34:48 -05:00
Gregory Schier
5825327c27 Ensure TIMEOUT_MS is positive (Fixes #1264) 2018-12-14 13:26:10 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Ryan Plessner
2aca070e51 Add Hawk Ext feature (#1266) 2018-11-17 18:04:03 -08:00
Daniel O'Loughlin
37ccd12af4 Closes 1225 (#1230)
* Updated all references to use the getDataDirectory function from misc so that an environment variable can be set for the data directory.

* Did some minor code formatting cleanup

* Got rid of some unused vars

* More unused var cleanup
2018-11-05 22:39:50 -04:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Gregory Schier
2446ac800d Start storing timestamps on timeline entries (Related #618) 2018-10-11 13:12:31 -04:00
Devin Carr
9413481b2e Add resource param to client credential oauth grant. (#1174)
Addresses #716
2018-09-26 19:03:40 -04:00
Gregory Schier
7af8514e42 Fix AWS signature with content-type (Closes #1089) 2018-08-01 11:28:11 -07:00
Gregory Schier
26e9b646bd
Add ability to debug OAuth 2.0 token fetch responses (#1024)
* Show OAuth 2.0 responses when failed

* Implemented for the rest of the grant types
2018-07-01 13:18:18 -07:00
Gregory Schier
ebbb8d5247 Handle missing content-type header with AWS auth (Fixes #910) 2018-06-30 15:55:36 -04:00
Drew Delianides
3b58c994f8 add audience param to implicit oauth grant closes #1008 (#1009) 2018-06-26 08:31:37 -07:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
b11f5a5c69
Plugin Storage API (#981)
* Add plugin storage API

* Add tests
2018-06-08 20:22:39 -07:00
Gregory Schier
c82e163841
Add ability to view introspection request/response timeline upon error (#970)
* Add ability to view introspection request/response timeline upon error

* Fix tests
2018-06-06 13:48:14 -07:00
Gerry Tan
3e77cd4a69 Atlassian ASAP auth: default additionalClaims to empty object if not provided. Closes #952. (#953) 2018-06-06 13:29:07 -07:00
Gregory Schier
020b8b301f Also send nonce for ID Token OAuth2 type 2018-05-24 22:55:19 -04:00
Gregory Schier
63ec162cb8 Fix tests and bump version 2018-05-04 15:07:12 -04:00
Gregory Schier
bcb8e01813 Actually send header when value is empty 2018-05-04 10:37:37 -04:00
Gregory Schier
4b5ef56c56 Fixed tests 2018-05-03 18:01:49 -04:00
Gregory Schier
e8aba99417 Fix AWS auth (Fixes #907) 2018-04-30 08:48:00 -04:00
Gregory Schier
23fa05fc01 Give response hooks access to read-only request context (Closes #853) 2018-04-25 14:24:52 -04:00
Gregory Schier
b0ff54d050 Updated eslint, flow, and fixed errors 2018-04-19 15:54:19 -04:00
Gregory Schier
053c2cb3a0 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-04-18 14:21:37 -04:00
Gregory Schier
b5ad46b5a9 Add HMAC-256 oauth 1 (Closes #868) 2018-04-18 14:21:06 -04:00
Ville Skyttä
d902fc088f Spelling fixes (#862) 2018-04-15 07:08:00 -04:00
Gregory Schier
386acdd2c9 Add content types and fix iconv failure 2018-04-05 08:35:56 -04:00
Gregory Schier
653cc88ae1 Ability to change Bearer prefix (Closes #817) 2018-03-30 08:52:02 -04:00
Gregory Schier
6df9aa15c2 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-03-28 22:32:48 -04:00
Gregory Schier
976720c8f2 Introspection queries use same OAuth2 tokens (Closes #835) 2018-03-28 22:32:09 -04:00
Brandon Cook
3a15aab2c4 Add support for additional claims in ASAP Auth (#822) 2018-03-28 19:27:21 -04:00
Gregory Schier
6b84fd589c Log response body on OAuth token fetch errors 2018-03-26 19:18:21 -07:00
Gregory Schier
87ccc34bad Setting for Curl's PATH_AS_IS flag (Closes #823) 2018-03-26 10:43:42 -07:00
Gregory Schier
cbd873febc Add verifier to OAuth1 (Closes #828) 2018-03-26 09:52:14 -07:00
Gregory Schier
88286bbf94 Don't restore name/folder on history change (Fixes #786) 2018-03-06 19:02:31 +13:00
Gregory Schier
d6af6b2762 Lower permission for reading files (Closes #789) 2018-03-06 18:30:40 +13:00
Gregory Schier
9c2eafe29c GraphQL introspection use plugins (Fixes #798) 2018-03-06 15:26:59 +13:00
Gregory Schier
e57bc871f2 Better host header handling for AWS auth (Closes #740) 2018-02-08 17:09:13 +08:00
Peter Lyons
0fc709574d Support AWS Multifactor Auth (#719)
* Back end support
2018-01-24 10:51:13 -07:00
Gregory Schier
dbe5fdd736 Add OAuth 2.0 token to Request template tag (#715) 2018-01-17 13:36:06 +07:00
Gregory Schier
55353b2ecb Better OAuth 2 errors 2018-01-17 13:04:47 +07:00
Gregory Schier
82621e8fb3 Fix for swagger2 importer 2018-01-17 12:18:10 +07:00
Gregory Schier
f978015ca2 Fix GraphQL + OAuth 2.0 (Fixes #699) 2018-01-17 11:20:45 +07:00
Emanuel Fonseca
3f46f5898c [Feature] Enable response type selection for oauth2 implicit mode (#681)
* Enable response type selection for oauth2 implicit

* Parse token even if callback server is unreachable

* Fix style: add _ prefix to private method

* Fix style: reorder private method declaration

* Set OAuth 2.0 default responseType value to token

* Add responseType to params

* Fix response type constant value

* Code styling

* Fix authorization request parameters

* Don't open dev tools
2018-01-16 13:08:46 +07:00
c22
dd51487905 Add RSA-SHA1 signing to OAuth 1.0 (#611)
* Add RSA-SHA1 signing to OAuth 1.0

* Add OAuth 1.0 RSA-SHA1 test
2018-01-16 13:06:26 +07:00
Henrik Nårstad
b85b3f1459 Add audience field for oauth2 client credentials (#679) 2017-12-25 10:22:49 -08:00
Gregory Schier
31eb01f24d Update CA bundle 2017-12-21 16:13:25 +01:00
Gregory Schier
aba3c8ed86
Prompt Template Tag and Plugin arg validation (#673)
* Plugin arg validation, prompt tag, and some changes needed

* Version bumps
2017-12-21 06:01:51 -08:00
Gregory Schier
22c02e5d03 More accurate HTTP status messages (Closes #660) 2017-12-18 19:10:34 +01:00
Gregory Schier
1e948412c8 Handle encodings in response plugin (Fixes #641) 2017-12-01 14:18:38 +00:00
Gregory Schier
f7e5c9154d Implemented base node-libcurl wrapper library 2017-11-30 16:43:30 +00:00
Gregory Schier
a0685c882e Move WRITEFUNCTION definition lower (Fixes #633)
I have no idea why moving this function down works, but it did.
2017-11-30 11:06:04 +00:00
Gregory Schier
549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00