Giter VIP home page Giter VIP logo

Comments (3)

Shadowmoise avatar Shadowmoise commented on August 20, 2024

Hello I have the same issue with the same installation. Did you manage to solve it by any chance. I'm not sure what configuration I'm missing here.

Best,

from edx-analytics-dashboard.

testaccountsnt avatar testaccountsnt commented on August 20, 2024

No, I could not solve it. Insights login is not working. If you solve this, please update here.

from edx-analytics-dashboard.

lngvietthang avatar lngvietthang commented on August 20, 2024

Hi @testaccountsnt @Shadowmoise,

I had the same problem like you. After two weeks investigation, I find that note from author:

Note: When using OAuth2, the dashboard and provider must be accessed via different host names (e.g. dashboard.example.org and provider.example.org) in order to avoid issues with session cookies being overwritten. (This was true with the use of the removed Open ID Connect, but is untested since.)

I used the same server ip as host name for both Analytic Dashboard and OpenEdx LMS, so the session_id in cookie from Analytic Dashboard sent to OAuth2 of LMS is overridden by LMS. That change the behaviour of OAuth2.
I fixed that by move my Analytic Dashboard to another server and everything work correctly.
Another solution to solve is try map two hostname with different ports to Analytic Dashboard and LMS. My colleague tested this way and it works too. For example, you can map Analytic Dashboard to insight.example.com:8110 and lms.example.com:18000 for LMS.

from edx-analytics-dashboard.

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.