bruno/packages
Dakshin K 46df2e967f
fix: Check OAuth2 redirect URL for matching callback URL and authorization code in query parameters (#2148)
* Check OAuth2 redirect URL for matching callback URL and authorization code in query parameters

In an Authorization code flow, there may be multiple intermediate redirects before reaching the final one which matches the callback URL and has a code in the query params.

We should wait until we see a redirect URI that matches both the conditions. This fixes the issue where, when a redirect contains `code` as a query param but is not the final one (i.e., is not to the callback URL) an error is thrown saying the callback URL is invalid.

Fixes #2147

* Add test cases for callback URL check

* Update check to cover URLs with same host but different endpoints
2024-05-31 15:41:31 +05:30
..
bruno-app feat: add support for state param for OAuth2 Authorization Code flow (#2330) 2024-05-31 15:35:27 +05:30
bruno-cli fix/path param (#2388) 2024-05-30 23:09:34 +05:30
bruno-common feat(#1460): use new interpolation lib in app, electron, cli 2024-01-29 17:17:24 +05:30
bruno-docs chore: initial commit for bruno docs package 2023-05-19 19:57:58 +05:30
bruno-electron fix: Check OAuth2 redirect URL for matching callback URL and authorization code in query parameters (#2148) 2024-05-31 15:41:31 +05:30
bruno-graphql-docs fix(graphql-docs/build): rollup error thrown during build 2023-09-30 09:49:02 +05:30
bruno-js chore: bumped cli version 2024-05-06 16:24:00 +05:30
bruno-lang feat: add support for state param for OAuth2 Authorization Code flow (#2330) 2024-05-31 15:35:27 +05:30
bruno-query Add license information to modules. 2023-09-25 20:57:51 -05:00
bruno-schema feat: add support for state param for OAuth2 Authorization Code flow (#2330) 2024-05-31 15:35:27 +05:30
bruno-tests fix(#2367): handle response body decode (#2371) 2024-05-30 23:24:04 +05:30
bruno-toml Feat/improved path params (#2357) 2024-05-30 15:49:14 +05:30