canvas-lms/lib/lti
David Varga c6a9ad5e25 Introduce student_context lti 1.3 custom claim
When launching form student_context_card placement,
there are two basically two contexts, course and student.
The standard context claim is filled with the course but tools
want to know about the student as well.
With this ticket we introduce a new custom claim
'https://www.instructure.com/student_context' that will be filled with
{ id: <student.lti_id> } when launching from student_context_card.

closes INTEROP-8186
flag=none

test plan:
- Launch a tool from student_context_card placement
- Check that the https://www.instructure.com/student_context claim
 is present in the idtoken and filled with the student's lti_id

Change-Id: Ie1b1b9d80ae415c8e7356f9ac313ec0f5bcb1ea5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/354130
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Bence Árpási <bence.arpasi@instructure.com>
QA-Review: Bence Árpási <bence.arpasi@instructure.com>
Product-Review: David Varga <d.varga@instructure.com>
2024-08-07 12:08:09 +00:00
..
errors RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
helpers oauth_consumer_key using correct nonce 2024-07-09 20:25:29 +00:00
ims Remove a lot of settings 2024-01-09 21:32:17 +00:00
membership_service Remove a lot of settings 2024-01-09 21:32:17 +00:00
messages Introduce student_context lti 1.3 custom claim 2024-08-07 12:08:09 +00:00
oauth2 Remove a lot of settings 2024-01-09 21:32:17 +00:00
api_service_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
app_collator.rb Show LTI Migration Progress 2024-07-29 19:10:22 +00:00
app_launch_collator.rb Use tool url when tool omits launch url in DL 2023-08-11 17:43:45 +00:00
app_util.rb respond to all postMessages in active RCE 2023-09-28 15:41:45 +00:00
asset.rb rubocop: Rails/Pick 2024-06-11 18:34:29 +00:00
capabilities_helper.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
content_item_converter.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
content_item_response.rb change media type for NQ during ccm export 2024-07-18 11:42:52 +00:00
content_item_selection_request.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
content_item_util.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
context_tool_finder.rb prevent cross-shard tool queries in ContextToolFinder 2023-10-24 18:20:35 +00:00
deep_linking_data.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
deep_linking_util.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
errors.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
external_tool_name_bookmarker.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
external_tool_tab.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
key_storage.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
logging.rb log oauth base string when LTI API signature fails 2021-01-26 20:25:06 +00:00
message_authenticator.rb Gracefully handle missing lti_version 2023-01-03 21:41:42 +00:00
message_handler_name_bookmarker.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
name_bookmarker_base.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
oidc.rb bundle update rubocop 2024-07-05 18:54:07 +00:00
permission_checker.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
plagiarism_subscriptions_helper.rb Allow Plagiarism tools without live events 2022-05-18 21:47:02 +00:00
platform_storage.rb remove lti_platform_storage FF 2024-01-11 10:11:52 +00:00
privacy_level_expander.rb RuboCop: Style/PercentLiteralDelimiters 2021-11-18 23:05:50 +00:00
quizzes_next_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
re_reg_constraint.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
redis_message_client.rb Make sure defined TTL constant is used 2023-12-04 15:25:19 +00:00
scope_union.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
security.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
substitutions_helper.rb Use a Group's Course for LTI var expansions 2024-07-31 23:28:41 +00:00
tool_proxy_name_bookmarker.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
tool_proxy_validator.rb bundle update rubocop 2023-10-11 14:30:59 +00:00
variable_expander.rb Use a Group's Course for LTI var expansions 2024-07-31 23:28:41 +00:00
variable_expansion.rb Use a Group's Course for LTI var expansions 2024-07-31 23:28:41 +00:00