signinpage: Show page in case of auto pop-up

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-05-20 13:58:58 +02:00
parent 28b4a30928
commit 2300f303a5
@@ -110,6 +110,7 @@ export const SingleSignInPage = ({
if (!identity && autoShowPopup) {
// Unless auto is set to true, this step should not happen.
// When user intentionally clicks the Sign In button, autoShowPopup is set to true
setShowLoginPage(true);
identity = await authApi.getBackstageIdentity({
instantPopup: true,
});