So I am trying to make a login, and it works just fine to just enter the URL in the browser/linking to it, and then it will successfully send the user back to the return URL.
The problem is, when I try to have the auth URL loaded in an iframe, so the user will directly see the “subscriber only” content if already authed, and session is running, or will see the login/auth form on the twitch auth site if not.
If i use the HTTP instead of HTTPS or the wrong client-id in the url, I do se the error message! But when I use the correct url, that works directly in a browser, the iframe shows nothing.
Same if I load a page in the iframe with a link to the correct auth-page, it won’t show anything in the iframe when clicked, but if I “select open in a new tab”, it shows the form!
Do twitch have something that prevents the auth-page to be loaded in an iframe, or am I doing something wrong?