Support scopes in django-oauth-toolkit

Description

configure django-oauth-toolkit to support the scopes we use in the edx ecosystem on edx-platform. Ensure that oauth-dispatch code properly handles scopes across oauth libraries.

This should result in passing tests when re-enabling the tests at `common/djangoapps/auth_exchange/tests/mixinsOTAdapterMixin.test_scopes()` and the tests at `lms/djangoapps/oauth_dispatch/tests/test_adapter.py:TestDOTAdapter.test_normalize_scopes()` and `lms/djangoapps/oauth_dispatch/tests/test_adapter.py:TestDOTAdapter.test_get_token_scope_names()`.

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Customer Problem Statement

None

Status

Assignee

Nimisha Asthagiri

Reporter

Cliff Dyer

Labels

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Sub-Team(s)

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Priority

Unset
Configure