Go to file
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
.github Merge develop for 5.1.0 (#246) 2017-05-24 09:25:22 -07:00
app Add redirectUri to url regex for OAuth2 (#396) 2017-08-03 18:16:27 -07:00
flow-typed Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
webpack GraphQL Body Type (#376) 2017-07-24 21:15:24 -07:00
.appveyor.yml Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
.babelrc Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
.editorconfig A bunch of fixes with OAuth and minor network bugs (#155) 2017-04-19 18:37:40 -07:00
.eslintignore Load plugin from NPM (#371) 2017-07-21 17:55:34 -07:00
.eslintrc Refactor tooltip and some props stuff 2017-07-21 11:59:17 -07:00
.flowconfig Load plugin from NPM (#371) 2017-07-21 17:55:34 -07:00
.gitignore Added eslint and fixed all problems (#101) 2017-03-03 12:09:08 -08:00
.nvmrc Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
.travis.yml npm@5 in CI and package-lock.json 2017-05-26 11:57:24 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-15 14:06:31 -07:00
CONTRIBUTING.md Merge develop for 5.1.0 (#246) 2017-05-24 09:25:22 -07:00
LICENSE Merge develop for 5.1.0 (#246) 2017-05-24 09:25:22 -07:00
package-lock.json Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
package.json Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
README.md Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00

Insomnia REST Client

Insomnia Travis AppVeyor license Slack Channel Twitter Follow

Insomnia is a cross-platform REST client, built on top of Electron.

Insomnia REST Client Screenshot

Bugs and Feature Requests

Have a bug or a feature request? First, read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

For more generic product questions and feedback, join the Slack Team or email support@insomnia.rest

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at editorconfig.org.

Developing

Development on Insomnia can be done on Mac, Windows, or Linux as long as you have NodeJS 8 and Git.

Initial Dev Setup
# Install dependencies and build addons for Electron
npm install
npm run rebuild

# Start app
npm run dev

# Run tests
npm test
Editor Requirements

You can use any editor you'd like, but make sure to have support/plugins for the following tools:

  • ESLint For catching syntax problems and common errors
  • JSX Syntax For React components
  • Flow For type annotations

License

GNU AGPLv3 © Insomnia