Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
This reverts commit 66abe02.
  • Loading branch information
denysoblohin-okta committed Jan 23, 2023
1 parent a106926 commit 2fba592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/apps/app/server/proxyMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = function proxyMiddlewareFactory({ proxyPort, origin }) {
onProxyRes: responseInterceptor(async (responseBuffer, proxyRes, req, res) => {
const response = responseBuffer.toString('utf8');
let patchedResponse = response;
if (req.url.includes('/oauth2/v1/authorize') ) {
if (req.url.includes('/v1/authorize') ) {
patchedResponse = patchedResponse.replace(
buildRegexForUri(origin),
escapeUri(`http://localhost:${proxyPort}`)
Expand Down

0 comments on commit 2fba592

Please sign in to comment.