Merge pull request #7298 from backstage/freben/less-core-api

get rid of some core-api mentions too
This commit is contained in:
Fredrik Adelöw
2021-09-23 16:18:13 +02:00
committed by GitHub
12 changed files with 35 additions and 27 deletions
@@ -58,7 +58,7 @@ export const postMessageResponse = (
(window.opener || window.parent).postMessage(JSON.parse(authResponse), origin);
setTimeout(() => {
window.close();
}, 100); // same as the interval of the core-api lib/loginPopup.ts (to address race conditions)
}, 100); // same as the interval of the core-app-api lib/loginPopup.ts (to address race conditions)
`;
const hash = crypto.createHash('sha256').update(script).digest('base64');