pylti1.3 icon indicating copy to clipboard operation
pylti1.3 copied to clipboard

Canvas LMS: Must have an active user session

Open NaurizAitbai opened this issue 3 years ago • 3 comments

Hello. I have an LTI project with pylti1.3. And I have fresh installed Canvas LMS. It works on Firefox, but not working on Chrome.

image image image

Canvas LMS from stable branch.

NaurizAitbai avatar Jan 24 '22 16:01 NaurizAitbai

I've seen this error before on self hosted canvas installs. Happening to me too. No idea how to fix it though.

ssilverm avatar Jan 24 '22 16:01 ssilverm

@ssilverm I fixed the problem by adding secure: true in session_store.yml. And this will automatically add Secure;SameSite=None to normandy_session.

But is this only solution?

NaurizAitbai avatar Jan 24 '22 18:01 NaurizAitbai

@NaurizAitbai You are a life saver. That fixed my system. It's now working in Chrome for me after doing that.

On my machine I don't use Dory/Dinghy

This is what I do when I build Canvas after switching to stable branch: Say no to dory, yes to everything else ./script/docker_dev_setup.sh

Add the domain you want to use to the VIRTUAL_HOST env var and ports to Web Service in docker-compose.override.yml ports: - "80:80"

nano docker-compose.override.yml

Setup domains in domains.yml nano config/domain.yml

Set it all up to autostart on boot... Add restart: always to docker-compose.override.yml services

Run it all! docker-compose up -d docker-compose logs -f

ssilverm avatar Jan 24 '22 19:01 ssilverm