* Add redirectUri to url regex for OAuth2
Keycloak, an OAuth2/OpenId Connect authentication server,
has multiple pages it redirects to during the login process
for the user. One such internal url it uses has `code=` as part
of the url. This causes the window to close prematurely and attempt
to get an access token. However, the code is wrong because it is
only an intermediaery step for Keycloak.
This fix will add the redirectUri to the regex. Insomnia will only attempt
to fetch the token AFTER keycloak has finished it's full login flow
and has redirected back to the redirectUri.
* Code review changes
* Playing around with pre-request hooks
* Added response hooks
* More flow types
* Flow types on wrapper.js
* Flow types on plugin folder
* Basic tests for plugin hooks
* Make DB initilize for all tests no matter what
* Touch
* A bunch of fixes with OAuth and minor network bugs
* Handle charsets and only autocomplete constants if exact prefix
* Fix head requests
* Fix double submisson of request
* Fixed tests
* Proof of concept authorize call
* Authorize and Refresh endpoints done
* OAuth2 editor started
* Some small fixes
* Set OAuth headers on request
* Started on some OAuth tests
* Updated network logic with new OAuth API
* OAuth forms and refactor flows
* Fix grant type handling
* Moved auth handling out of render pipeline
* Fixed legacy auth header
* Fix vertical center
* Prompt user on auth type change
* Refresh tokens working (I think) and better UI
* Catch same type auth change
* POC refresh token and small refactor
* Better token handling
* LOading state to token refresh
* Show o-auth-2 errors
* Some minor updates