Merge pull request #19232 from awanlin/topic/resolve-redirect-flow-error
Resolve redirect flow error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user