I'm testing the "Publish as LTI tool" using what I believe Moodle 3.5 as LTI provider and Moodle Cloud as LTI consumer. I'm trying to publish specific quizzes, with the idea that the teacher on the consumer side can not only assign the quiz but modify it, having access to the course question bank.
Whilst the authentication seems to be working just fine, I'm having issues with the role assigned to the consumer. Instead of creating a use on the provider side with Teacher privileges (as it should be), the tool is creating a user with no role assigned.
This means the teacher does not have access to all the categories of the question bank, but only to the Default category for the specific quiz, which is empty (as it should).
If I manually change the user specifying the role as Teacher the quiz works as expected.
Any idea about what I'm doing wrong?