[Quince Backport] feat: link LTI Provider launches to authenticated users - #33656
Conversation
|
Thanks for the pull request, @tecoholic! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
c19cc98 to
64a24c3
Compare
With this change, the platform users who access content via LTI will be automatically linked to their platform account instead of the new (anonymous) one. The following conditions need to be met: * The `LtiConsumer` should be configured to auto-link the users via email. * The LTI Consumer should share the user's email using the `lis_person_contact_email_primary` parameter in the LTI Launch POST data. This also replaces the one-to-one relationship of the `User` and `LtiUser` with one-to-many. This way, multiple `LtiUser` objects can refer to the same `edx_user`. With the auto-linking, multiple LTI Consumers can create independent `LtiUser` objects with the same `edx_user`. Co-authored-by: Piotr Surowiec <piotr@surowiec.it> (cherry picked from commit 5b2f012)
4fc1e28 to
b8ff3ab
Compare
Agrendalath
left a comment
There was a problem hiding this comment.
👍
- I tested this: checked that the diff matches #33310
- I read through the code
- I checked for accessibility issues: n/a
- Includes documentation
|
Sandbox update request received. Deployment will start soon. |
|
Sandbox deployment failed. Check failure logs here https://grove-stage-build-logs.nyc3.digitaloceanspaces.com/34602668-5541071501.log Please check the settings and requirements and retry deployment by updating the pull request or posting a |
|
@tecoholic I've read through the original PR. It's an awesome work! There is a great testing instruction in the original PR. @mariajgrimaldi are you agree? |
|
@cmltaWt0 Thank you. @mariajgrimaldi Kindly let me know if you need anything while testing. |
|
@tecoholic 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
Tested:
Not tested:
|
|
Sandbox update request received. Deployment will start soon. |
Description
Quince backport of #33310
Useful information to include:
"Developer", and "Operator".
changes.
Supporting information
Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.
Testing instructions
Please provide detailed step-by-step instructions for testing this change.
Deadline
"None" if there's no rush, or provide a specific date or event (and reason) if there is one.
Other information
Include anything else that will help reviewers and consumers understand the change.