canvas-lms/lib/canvas/oauth
August Thornton 90721ee88a update user access token lookup for canvas oauth
Avoid iterating over _all_ the user's shard associations for
access tokens; query against the user's home shard instead.

fixes FOO-4200
flag = none

test plan:
 • Exercise the OAuth2 flow for a user with multiple access tokens
   and developer keys created at a root account and globally

Change-Id: I4880f0ab4697f8532581af07b62beec9eda58195
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339261
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2024-01-31 19:38:40 +00:00
..
grant_types Add client credentials grant type for services 2023-09-26 22:00:45 +00:00
asymmetric_client_credentials_provider.rb Add client credentials grant type for services 2023-09-26 22:00:45 +00:00
client_credentials_provider.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
invalid_request_error.rb Return 4xx instead of redirect for oauth token errors 2022-05-19 16:34:56 +00:00
invalid_scope_error.rb rubocop: Layout 2023-04-12 14:57:56 +00:00
key_storage.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
provider.rb Add client credentials grant type for services 2023-09-26 22:00:45 +00:00
request_error.rb Return 4xx instead of redirect for oauth token errors 2022-05-19 16:34:56 +00:00
service_user_client_credentials_provider.rb Consider client_id as identifier for service JWTs 2023-09-26 22:01:14 +00:00
site_admin_client_credentials_provider.rb Add client credentials grant type for services 2023-09-26 22:00:45 +00:00
symmetric_client_credentials_provider.rb Refactor client_credentials grant type 2023-09-26 22:00:35 +00:00
token.rb update user access token lookup for canvas oauth 2024-01-31 19:38:40 +00:00