canvas-lms/lib
Drake Harper 96b6be4d2d Fix follow oauth2 flow for scopes error handling
Fixes PLAT-4681

Test Plan:
-set up an lti key
-hit /login/oauth2/auth?client_id=tool_id&response_type=code
	&state=YYY&redirect_uri=some_url&scope=url:GET
-verify that redirect was redirected to with error type and description

Change-Id: I724f503e31edd449f29e3a894d492a11cca61279
Reviewed-on: https://gerrit.instructure.com/203250
Tested-by: Jenkins
Reviewed-by: Marc Phillips <mphillips@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2019-08-07 21:04:12 +00:00
..
active_support/cache work around ruby 2.5 bug 2018-01-02 21:32:36 +00:00
address_book allow sending messages to group members from other sections 2019-07-18 22:00:38 +00:00
api update files API for uploading via url 2019-08-05 20:16:19 +00:00
app_center set the appropriate app center token by context 2018-08-30 21:16:39 +00:00
basic_lti Post grades on q.n submission 2019-07-15 22:00:15 +00:00
canvadocs display annotations when assignment auto posts 2019-07-19 15:03:51 +00:00
canvas Fix follow oauth2 flow for scopes error handling 2019-08-07 21:04:12 +00:00
cc Save post policy in content migrations 2019-08-06 18:47:57 +00:00
data_fixup only sleep on backfill nulls if updates are made 2019-07-24 19:42:21 +00:00
external_auth_observation rip out ruby-saml-mod gem 2019-02-22 19:20:32 +00:00
feature_flags Fix master-slave edge case for FF 2019-07-11 20:31:41 +00:00
gradebook create endpoint for final grade overrides 2018-12-07 18:26:39 +00:00
latex use inst_statsd 2019-03-25 17:00:49 +00:00
lti Remove editor button default parameters 2019-07-16 14:30:19 +00:00
messageable_user Revert "Conversation reply to students in concluded course includes student" 2019-04-09 17:11:23 +00:00
outcomes Further specify order of outcome results 2019-01-02 17:27:42 +00:00
reporting limit lots more stuff to non_shadow root accounts 2019-05-20 22:49:36 +00:00
schemas Add manual edit for public jwk url 2019-06-25 18:29:59 +00:00
services update files API for uploading via url 2019-08-05 20:16:19 +00:00
sis add grade_passback_setting to course 2019-07-16 15:11:34 +00:00
stubs da licença part 34 2017-04-27 22:00:30 +00:00
support_helpers Add resubmission service 2018-11-29 20:53:23 +00:00
tasks drop rails 5.1 2019-08-01 14:09:31 +00:00
turnitin Handle turnitin polling more gracefully 2018-01-22 23:47:48 +00:00
user_content da licença part 36 2017-04-28 17:31:17 +00:00
utils da licença part 36 2017-04-28 17:31:17 +00:00
account_services.rb removes integration for yo 2018-04-10 20:15:41 +00:00
action_controller_test_process.rb da licença part 25 2017-04-27 21:51:40 +00:00
address_book.rb da licença part 25 2017-04-27 21:51:40 +00:00
anonymity.rb Move anonymous ID routines to own module 2018-05-15 15:03:06 +00:00
api.rb graphql: properly process assignment description 2018-11-27 19:20:42 +00:00
api_route_set.rb da licença part 25 2017-04-27 21:51:40 +00:00
api_scope_mapper_loader.rb use class methods instead of consts for api scopes 2018-06-05 16:46:47 +00:00
asset_signature.rb da licença part 25 2017-04-27 21:51:40 +00:00
assignment_override_applicator.rb improve caching around assignment overrides and module info 2019-05-10 15:15:04 +00:00
assignment_score_statistics_generator.rb fix concurrency issue on updating assignment statistics 2019-05-23 22:42:10 +00:00
assignment_util.rb don't allow saving invalid assignment dates 2018-04-05 16:59:19 +00:00
authentication_methods.rb Make sure return_to is safe for quiz edit cancel btn 2019-06-10 18:16:15 +00:00
basic_lti.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_helpers.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_regenerator.rb limit lots more stuff to non_shadow root accounts 2019-05-20 22:49:36 +00:00
brandable_css.rb drop rails 5.1 2019-08-01 14:09:31 +00:00
browser_support.rb update user agent parsing to browser gem 2019-04-25 21:24:51 +00:00
canvadocs.rb fix docviewer for historical submissions 2018-09-18 22:18:22 +00:00
canvas.rb move redis logging config to redis.yml 2018-08-29 17:03:51 +00:00
canvas_logger.rb da licença part 27 2017-04-27 21:53:31 +00:00
canvas_yaml.rb reset default hash value in sets after yaml deserialization 2019-07-17 12:26:28 +00:00
cc.rb da licença part 27 2017-04-27 21:53:31 +00:00
config_file.rb fix reloader for ConfigFile 2017-06-15 18:45:24 +00:00
content_licenses.rb call translated license names in a lambda 2017-08-14 13:03:04 +00:00
content_notices.rb rewrite content_notices to use InstUI Alert 2018-12-17 16:58:06 +00:00
content_zipper.rb grab attachments from correct shard for submission downloads 2019-07-11 19:21:20 +00:00
conversation_batch_scrubber.rb scrub old conversation batches 2017-12-01 02:14:53 +00:00
copy_authorized_links.rb remove 'copy_authorized_content' as superfluous 2017-07-05 15:43:00 +00:00
course_link_validator.rb Notification for failed link 2019-02-28 16:50:20 +00:00
csv_with_i18n.rb add i18n to outcome reports, lmgb export 2019-08-02 21:42:51 +00:00
custom_validations.rb da licença part 27 2017-04-27 21:53:31 +00:00
cuty_capt.rb don't process url's with CutyCapt that don't resolve 2017-11-06 18:08:23 +00:00
dates_overridable.rb avoid calling submissions on nil 2019-06-04 21:03:37 +00:00
delayed_message_scrubber.rb da licença part 28 2017-04-27 21:53:35 +00:00
delicious.rb da licença part 28 2017-04-27 21:53:35 +00:00
differentiable_assignment.rb apply differentiated assignment scope in context shard 2018-03-01 01:40:17 +00:00
due_date_cacher.rb drop unused columns from submissions 2019-07-26 15:23:59 +00:00
duplicating_objects.rb Add the ability to duplicate modules. 2017-11-03 15:52:43 +00:00
effective_due_dates.rb don't truncate the seconds off of cached due dates 2018-12-05 15:59:55 +00:00
email_address_validator.rb da licença part 29 2017-04-27 21:59:53 +00:00
enrollments_from_user_list.rb calculate scores when re-enrolling into course 2019-07-24 20:41:12 +00:00
eportfolio_page.rb mv some js_bundle and css_bundle’s to controller 2019-07-29 16:55:37 +00:00
external_feed_aggregator.rb stop RSS feeds when a course has concluded 2018-02-28 19:49:56 +00:00
external_statuses.rb da licença part 29 2017-04-27 21:59:53 +00:00
feature.rb per-environment overrides for feature definitions 2019-08-02 21:59:44 +00:00
feature_flags.rb don't cache context on feature flag 2019-06-28 16:27:11 +00:00
file_authenticator.rb add claims to files domain verifier 2018-06-12 22:18:36 +00:00
file_in_context.rb don't fail when importing a package with invalid attachments 2017-08-30 21:21:34 +00:00
file_splitter.rb da licença part 29 2017-04-27 21:59:53 +00:00
google_docs_preview.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
grade_calculator.rb Fix post policy-related grade calculator issues 2019-06-27 16:46:27 +00:00
gradebook_exporter.rb add i18n to outcome reports, lmgb export 2019-08-02 21:42:51 +00:00
gradebook_grading_period_assignments.rb Rails 5.2: Arel.sql 2018-07-31 15:20:57 +00:00
gradebook_importer.rb Excuse submissions labeled EX in pass-fail in importer 2019-07-02 21:14:07 +00:00
gradebook_settings_helpers.rb extract submission serializer shared code 2018-07-23 16:22:46 +00:00
gradebook_user_ids.rb fix gradebook sort when filtering by student group 2019-08-06 18:44:13 +00:00
grading_period_helper.rb da licença part 30 2017-04-27 21:59:55 +00:00
has_content_tags.rb improve caching around assignment overrides and module info 2019-05-10 15:15:04 +00:00
host_url.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
i18n_time_zone.rb add additional brazil time zones 2017-11-28 21:31:57 +00:00
imported_html_converter.rb translate copied links in longdesc attributes 2018-09-07 18:49:20 +00:00
inst_fs.rb fix file deletion and replacement for inst-fs 2019-08-01 12:30:48 +00:00
job_live_events_context.rb symbolize live events 2017-05-14 01:30:14 +00:00
late_policy_applicator.rb fix several N+1 found by Bullet 2018-08-02 16:37:02 +00:00
latex.rb da licença part 31 2017-04-27 21:59:58 +00:00
learning_outcome_context.rb de-dup outcomes linked multiple times in a context 2019-01-15 20:40:43 +00:00
locale_selection.rb slave get_context 2019-03-22 16:41:21 +00:00
locked_for.rb add low_level_locked_for 2018-05-24 21:23:31 +00:00
logging_filter.rb da licença part 31 2017-04-27 21:59:58 +00:00
login_hooks.rb da licença part 31 2017-04-27 21:59:58 +00:00
math_man.rb cache mathman results generating mathml 2018-07-03 19:22:08 +00:00
message_dispatcher.rb partition messages 2018-12-10 13:42:35 +00:00
message_scrubber.rb partition messages 2018-12-10 13:42:35 +00:00
messageable_user.rb fix unrecognized oid 705 warning 2018-07-31 18:53:35 +00:00
missing_policy_applicator.rb Post submissions in missing policy applicator 2019-07-16 15:53:08 +00:00
model_cache.rb fix conversation batch sending with model cache and old messages 2018-09-14 19:19:35 +00:00
moderation.rb stop using anonymous moderated marking feature flag 2018-06-12 20:58:47 +00:00
multi_cache.rb configure multicache via consul 2017-09-12 22:49:16 +00:00
must_view_module_progressor.rb da licença part 32 2017-04-27 22:00:01 +00:00
mutable.rb Fix read-only error on posting submissions 2019-07-17 18:23:12 +00:00
net_ldap_extensions.rb da licença part 32 2017-04-27 22:00:01 +00:00
notification_message_creator.rb fix sending immediate notifications for delayed policies 2019-04-22 16:45:20 +00:00
open_object.rb da licença part 32 2017-04-27 22:00:01 +00:00
outcome_attributes.rb da licença part 32 2017-04-27 22:00:01 +00:00
outcome_importer.rb Basic bulk outcome import 2018-02-14 23:07:18 +00:00
package_root.rb refactor package content management 2017-11-15 18:03:18 +00:00
permissions.rb da licença part 33 2017-04-27 22:00:04 +00:00
permissions_helper.rb fix precalculated read_as_admin permission for concluded teachers 2018-09-05 19:07:24 +00:00
plannable.rb Place peer reviews correctly in the sort 2018-10-05 22:40:28 +00:00
planner_api_helper.rb separate out api helpers for planner 2018-10-09 16:08:29 +00:00
planner_helper.rb separate out api helpers for planner 2018-10-09 16:08:29 +00:00
progress_runner.rb da licença part 33 2017-04-27 22:00:04 +00:00
request_cache.rb da licença part 33 2017-04-27 22:00:04 +00:00
request_error.rb da licença part 33 2017-04-27 22:00:04 +00:00
rubric_context.rb da licença part 33 2017-04-27 22:00:04 +00:00
scope_filter.rb da licença part 34 2017-04-27 22:00:30 +00:00
search_term_helper.rb da licença part 34 2017-04-27 22:00:30 +00:00
send_to_stream.rb tweak the priority of generate_stream_items jobs 2018-09-12 16:04:41 +00:00
sentry_proxy.rb da licença part 34 2017-04-27 22:00:30 +00:00
session_token.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
simple_stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
simple_tags.rb da licença part 34 2017-04-27 22:00:30 +00:00
sis.rb da licença part 34 2017-04-27 22:00:30 +00:00
sorts_assignments.rb skip unnecessary computation for upcoming assignments 2018-08-24 19:07:11 +00:00
ssl_common.rb da licença part 34 2017-04-27 22:00:30 +00:00
stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
sticky_sis_fields.rb add parent_account_id as a sticky sis field 2018-01-19 13:20:20 +00:00
submission_list.rb drop unused columns from submissions 2019-07-26 15:23:59 +00:00
submission_search.rb Add grading status filter to submissions connection 2019-08-06 16:27:32 +00:00
submittable.rb fix context modules discussion visibilities when removing dtv 2019-02-12 14:13:42 +00:00
submittables_grading_period_protection.rb da licença part 34 2017-04-27 22:00:30 +00:00
summary_message_consolidator.rb use master to update messages 2019-04-05 21:35:20 +00:00
syslog_wrapper.rb da licença part 34 2017-04-27 22:00:30 +00:00
temp_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
text_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
time_zone_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
timed_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
token_scopes.rb Create Developer Key update endpoint for public_jwk update 2019-06-07 21:43:56 +00:00
token_scopes_helper.rb Add API Token Scope Docs 2018-05-29 18:21:57 +00:00
turnitin.rb da licença part 35 2017-04-28 17:30:19 +00:00
turnitin_id.rb da licença part 35 2017-04-28 17:30:19 +00:00
unzip_attachment.rb ignore mac system folder when unzipping files 2017-11-30 14:18:40 +00:00
user_content.rb don't replace part of an absolute path in HtmlRewriter 2018-06-06 21:30:28 +00:00
user_list.rb da licença part 36 2017-04-28 17:31:17 +00:00
user_list_v2.rb use opaque tokens rather than ids to mass-enroll users 2017-11-08 20:29:07 +00:00
user_merge.rb mark failed merges as failed and capture the error 2019-05-20 17:05:46 +00:00
user_search.rb Scope account/course user search better 2019-07-17 21:23:51 +00:00
vericite.rb VeriCite: get all scores for an assignment in bulk 2017-05-24 17:09:57 +00:00
visibility_plucking_helper.rb da licença part 36 2017-04-28 17:31:17 +00:00
zip_extractor.rb da licença part 36 2017-04-28 17:31:17 +00:00