Skip to content
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

Aspects Reports (embedded Superset dashboards): internal authentication error for staff and superusers #925

Open
pkolyvas opened this issue Aug 27, 2024 · 1 comment

Comments

@pkolyvas
Copy link

Issue

I followed the instructions on a bone-stock 17.0.6 tutor install (due to two different bugs in 18.0 - 18.1.3). My installation is scripted and parameterized here, so it was easy to get to a repeatable, stock install.

As per my thread here there is an internal authentication error when an educator or staff member tries to view the embedded reports dashboards on the LMS Instructor Reports tab.

Screenshot 2024-08-26 at 11 34 07 AM

Screenshot 2024-08-26 at 11 34 30 AM

Affected versions

I've run tutor 17.0.6 and every version of 18 from 18.0.0 to 18.1.3. The issue persists across all versions.

Expected behaviour

Pretty straightforward here. Following the instructions for installation should result in the reports (embedded superset dashboards) loading.

Additional details

  • Ubuntu 24.04 Server
  • amd64 arch
  • No additional customization

Originally I was worried that installing aspects before tutor had be launched the first time was causing the issue, so I experiment with installing it both during initial config and after tutor had been running with courses and users for a bit, however the authentication issue persists irrespective of the order in which it's installed.

@Ian2012
Copy link
Contributor

Ian2012 commented Aug 30, 2024

Hi @pkolyvas, can you leave the following information:

  • Configured dashboard locales: tutor config printvalue SUPERSET_DASHBOARD_LOCALES
  • Logs related to platform-plugin-aspects when you load the Aspects instructor tab.
  • Check in the requests what's returned for the guest token URL, you should see something similar to this:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants