Você está tentando seguir as instruções em Discourse Learning Management System Integration (LTI 1.3 Authentication), certo?