Moodle as LTI provider - authenticate into existing Moodle user

Moodle as LTI provider - authenticate into existing Moodle user

by Pete Howard -
Number of replies: 1

Hi,

We are running both Canvas and Moodle. I would like to use the "Moodle as LTI provider" capability to allow users that are logged in to Canvas to seamlessly access a course in Moodle.

I have set up the LTI on Canvas and on Moodle. When a user launches the LTI from Canvas, then a new user is created on Moodle with  the correct name and email address and with a username that looks like this: 

enrol_lti54e2fbac742e02437015152990ee6f6c45032457

Instead of this, what I want is for the username to be created based on the Canvas username, or if that username already exists in Moodle, to authenticate into the existing user and enrol then onto the relevant Moodle course as per the LTI link.

Does anyone know how I can do this? I have tried to put custom parameters into the Canvas LTI but this is guesswork as I don't know what value Moodle would be looking for (if any).

Thanks,

Pete  

Average of ratings: -
In reply to Pete Howard

Re: Moodle as LTI provider - authenticate into existing Moodle user

by Zuheb A -
Hi Pete

even i need same feature. Help me if you found solution for this.
i want to avoid user duplication using LTI if user is already exists with same user details.

Thanks
Zuheb