added empty return

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2023-08-04 16:03:51 -05:00
parent e6cd72eab5
commit 16452cd007
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': patch
---
Updated `frameHandler` to return `undefined` when using the redirect flow instead of returning `postMessageReponse` which was causing errors
@@ -187,6 +187,7 @@ export class OAuthAdapter implements AuthProviderRouteHandlers {
);
}
res.redirect(state.redirectUrl);
return undefined;
}
// post message back to popup if successful
return postMessageResponse(res, appOrigin, responseObj);