insomnia/app/network
Jerry Saravia 43bc07460a Add redirectUri to url regex for OAuth2 (#396)
* 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
2017-08-03 18:16:27 -07:00
..
__tests__ Add netrc as auth type (#384) 2017-07-31 10:29:36 -07:00
o-auth-2 Add redirectUri to url regex for OAuth2 (#396) 2017-08-03 18:16:27 -07:00
authentication.js Add Bearer Authorization Support (#274) 2017-06-01 06:18:42 -07:00
cacert.js Remaining V5 Features (#122) 2017-03-28 15:45:23 -07:00
certificate-url-parse.js Actually use certificate.disabled property 2017-06-21 14:20:42 -07:00
network.js Fix AWS auth GET requests (Fixes #391) 2017-08-01 15:13:24 -07:00
url-matches-cert-host.js Allow wildcards in client certificate hosts (#262) 2017-06-21 13:56:19 -07:00