login_required error when course is not published and/or visibility anything other than public

ValenPorta
Community Member

Hi! I'm working on the Canvas LTI 1.3 integration and I've come across a weird behavior.

I have my tool set up in the Navigation bar and when I access it I get a login error as if my user was not logged in (login_required, Must have an active user session). This only happens when the course is UNPUBLISHED AND/OR VISIBILITY is anything other than PUBLIC, even though the Teacher account with which I created the course is enrolled in that course.

When I PUBLISH the course and change the VISIBILITY to PUBLIC then the login does not fail and I am able to access the tool.

I would like the teacher to be able to access the tool even if the course is not published yet. Has this happened to anyone? Any clues as to what may be going on here?

Thanks in advance!

Labels (2)
0 Likes