GithubHelp home page GithubHelp logo

Comments (5)

craig-br avatar craig-br commented on July 27, 2024

Hi @heinemann . Thanks for bringing this to our attention!

I've tested the lab using this link and it worked.
Username:
student
Password:
learn_ansible

I'm looking at the developers.redhat.com site to see what the issue is.

from instruqt.

craig-br avatar craig-br commented on July 27, 2024

Seems like its the iframe embedding causing the issue. Safari Version 15.6.1 (17613.3.9.1.16) Developer tools output:
[Error] Blocked a frame with origin "https://gitea-3000-jfcusuniubxy.env.play.instruqt.com/" from accessing a frame with origin "https://play.instruqt.com/". Protocols, domains, and ports must match.

from instruqt.

heinemann avatar heinemann commented on July 27, 2024

I test it on two laptops (Windows 10) with firefox and chrome. Same result.
[Edit]
The direct link work for me to. Thanks for that.

from instruqt.

craig-conway avatar craig-conway commented on July 27, 2024

We found that the controller itself is not accepting cross origin requests (CORS), breaking login once we embed the instruqt lab, but allowing it to work on the instruqt link its hosted on. We've setup redirects on developers.redhat.com as a workaround, could this be investigated to allow CORS?

from instruqt.

craig-br avatar craig-br commented on July 27, 2024

Hi @craig-conway. Unfortunately, there's no supported method to disable CORS security features in controller. The iframe method, however, is causing issues beyond just controller. Here's a different lab that uses VSCode, which doesn't load correctly.

https://developers.redhat.com/learn/get-started-ansible-automation-platform-navigator

Gitea and Jenkins instances we use in our labs also block form submissions via an iframe for security reasons.

Our recommendation is to use the kiosk link for Instruqt labs.

FYI @abenokraitis @cloin

from instruqt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.