-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of transport application into the CSIS #122
Comments
The standalone application is ready to test in https://clarity.saver.red |
You may use the following url to access the exposure map: https://clarity.saver.red/mapa_elementos/ |
The application should be embedded as iFrame into CSIS. I've created the respective Extended iFrame Entity, modified the Exposure Evaluation template - transport and updated the A-2 Guadalajara study. Important: The iFrame is currently blocked by the SAMEORIGIN policy, you have to remove To provide the username to the application there are two possibilities: query parameters and semaless.js. I would recommend to implement support for the required query parameters in your app, then we can call it with e.g. https://clarity.saver.red/mapa_elementos/?csis-user=demo. This requires also some work at CSIS side (extracting user name, setting, the parameter). I would implement that in csis_iframe_connector.js, once we know the list of required parameters and their content. The other possibility is seamless.js, it is a bit more complicated to set-up an requires the usage of the seamless.js client library in you app. The main advantage is that it supports bidirectional communication between the parent frame (CSIS Drupal) and your app. ATM, I don't think that we would need that. |
I have included Content-Security-Policy information in order to override the SAMEORIGIN setting (as it seems to be more current). The user issue is pending. |
Still getting
at https://csis.myclimateservice.eu/study/55/step/1954/view/external I think that @fgeyer16 has to include content-Security-Policy information for profile.myclimateservices.eu, too. |
Sorry for the longsilence. |
profile.myclimateservcies.eu now allows to be embedded by csis. Now I can see the login mask of profile in the iframe but I failto login as cas test user (logged in as non cas user in CSIS). My CAS test user is not able to see the esternal tab |
Furthermore, the branding of the transport application (colour, but more importantly the name) should be aligned to the CLARITY Theme. |
The iFrame on this page is still not working in Firefox:
|
On my firefox the map seems to be shown: Firefox 68.4.1esr on Debian 9
|
Anyway the X-Frame-Options: "SAMEORIGIN" headershould be removedfrom clarity.saver.red. |
I'm using Firefox 72.0.2 (64-Bit). |
what says security.csp.enable at about:config in firefox? |
Closing in favour of #134 |
We are ready to start testing the integration of the transport application into the CSIS. What do you need from us?
As per today's meeting, it seems that the first step would be to provide a link to the app?
The text was updated successfully, but these errors were encountered: