oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

Refocus popup window

Open Soren-Knudsen opened this issue 2 years ago • 1 comments

Question: Is it possible to refocus a signinPopup window without reloading the window's content? I am currently using the signinPopup as follows:

const result = await manager.signinPopup({
  popupWindowTarget: 'CustomWindowName',
  popupWindowFeatures: {
    width: 400,
    height: 588
  }
});

By adding thepopupWindowTarget option, I can refocus the window, but the content reloads each time. Are there any other options to refocus the window without reloading the content?

Soren-Knudsen avatar Aug 08 '23 10:08 Soren-Knudsen

You have to look into the source code. See src/navigators/PopupWindow.ts

pamapa avatar Aug 15 '23 15:08 pamapa