It looks like the Cypress/Puppeteer solution requires the "local login page" to respond with a Location header which I believe means a 302 redirect. Is this custom behavior that would have to be added to the app server? I'm using the popular oidc-client-js library where you call await userManager.signinCallback() to redirect to the IdP. This doesn't involve a 302 or Location response header.