Hey all. I’m trying to use the prebuilt replit login page, but I’m experiencing some bugs.
The auth works fine when opening the site in a new tab or directly going to the site, but fails when running the site on the project page thru the iframe. Here’s the steps I used to better explain it:
-
Running the replit thru the project page, shows the login page:
-
Clicked auth, opens another auth page, clicked authorize, successfully authorizes and it closes the page going back to the project page with the iframe.
-
The iframe reloads, but does not actually authenticate and reshows the same login page from step 1; no matter how many times you press the auth button and authenticate.
I think this might be a bug in the Replit Auth System in some browsers; from my testing, it does not work in newest Safari, some versions of Firefox, and some versions of Chromium. It does, however, work on some versions of Chrome.
I’m kinda confused why this is happening and would greatly appreciate it if someone could explain what’s wrong and maybe ways to solve/circumvent this issue! Thanks!