The top navbar is the parent page. I have used ReplAuth and it then reloaded the URL within the iframe without affecting the parent page, thus nesting the page within itself. Once logged in, refreshing the parent page will fix this, but it’s a manual fix.
The script is in the iframe; it’s a child. I need the child to reload the parent instead of just loading the parent within the child (thus creating an iframe within an iframe instead of just one iframe).
Yes. Once the ReplAuth popup closes, I want the parent page to refresh.
Basically, I have /upload and /upload-basic or something like that. /upload-basic is the ReplAuth webpage embedded in an iframe on /upload. I wanted the ReplAuth webpage of /upload-basic to refresh its parent page of /upload once authorized, but instead it loaded it within the iframe.
I did not find the answer to my question; however, I did solve my problem. Writing this out like this made me realize that I just needed the ReplAuth script to reload /upload-basic instead. Problem solved.
Ohh… I was looking in upload-basic thinking that was the actual page but now I see it’s in an iframe within upload… although having understood that now, I don’t know why you wouldn’t just have it as its own page…
It still only works for me if I set the reload URL to /upload-basic as following your advice still doesn’t reload the parent frame. However, I no longer need to know how to do this as now I’m just reloading the embedded page instead of the whole tab. You see, since it loaded the page inside the page, I get two navbars.