Embedding Rstudio cloud in an iframe


Like in this question, I am trying to allow students to access RStudio Cloud through an embedded iframe but keep getting redirected to the login screen.

Would love some pointers on whether this is possible, and what I might do to remedy the current problem.

Thank you very much!