Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Parameters not working in LTI 1.3 DL Launch #232

Open
AqibYounasAtTkxel opened this issue Feb 8, 2022 · 4 comments
Open

Custom Parameters not working in LTI 1.3 DL Launch #232

AqibYounasAtTkxel opened this issue Feb 8, 2022 · 4 comments

Comments

@AqibYounasAtTkxel
Copy link

Hi there,
I am trying to send the user email to my tool in LTI1.3 launch but it looks like it haven't been done on your side & custom parameters option do not work. kindly resolve this as this is a very basic requirement for tools

@AqibYounasAtTkxel AqibYounasAtTkxel changed the title Custom Parameters not working in LTI 1.3 Launch Custom Parameters not working in LTI 1.3 DL Launch Feb 8, 2022
@Alain1405
Copy link

I confirm both custom parameters and the admin/lti_consumer/courseallowpiisharinginltiflag/ don't work with LTI1.3.

@Alain1405
Copy link

Alain1405 commented Feb 9, 2022

Let me add some more details for future reference.
Both custom parameters configuration and configs for sending username and email show on the 1.3 consumer block configuration but are only supported on version 1.1. In order to enable sending user Personal Identifiable Information on 1.1 you need to enable the admin/lti_consumer/courseallowpiisharinginltiflag/ flag.

Here are the configs I refer to:
Screenshot 2022-02-09 at 20 52 36

If you want to get user details on 1.3, you can still enable NRPS on the consumer block @AqibYounasAtTkxel and then send a request to NRPS to get info of all students, and then match that info with the ID of the student launching the tool side.

That said, it would be pretty trivial to allow sending PII with 1.3 @giovannicimolin . Let us know if you are interested in the contribution OlhaShyliaieva/xblock-lti-consumer@master...OlhaShyliaieva:shyliaieva/add_user_info

UPDATE:
Actually you need to enable admin/lti_consumer/courseallowpiisharinginltiflag/ on 1.3 in order to send user personal details. If the flag is disabled, you will only receive user id, status and roles. If it's enabled you will also get name and email as well when configured in the LTI consumer.

@FatemeKhodayari
Copy link

FatemeKhodayari commented Dec 19, 2023

Hi. I'm facing similar issue. I'm using LTI 1.3 with h5p.com and have enabled the course allow pii sharing flag at https://lms.mydomain.com/admin/lti_consumer/courseallowpiisharinginltiflag/. Both Request user's username and Request user's email are set to True on the block configuration.

image

I'm getting users emails on h5p but not their username. What's the issue?
Another question is that how / where should I set the extra parameters so that other user info such as name (first name, last name) is sent to h5p?

@besonn
Copy link

besonn commented Aug 23, 2024

@FatemeKhodayari @Alain1405 Hi ! The same error occurred to me, did you fixed it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

4 participants