Commit 90212a05 by Matt Drayer Committed by GitHub

Merge pull request #145 from edx/mattdrayer/WL-535

mattdrayer/WL-535: Add multi-issuer support to service
parents cdf121f6 080ba501
......@@ -310,6 +310,7 @@ JWT_AUTH = {
'JWT_AUDIENCE': 'course-discovery',
'JWT_ISSUER': 'course-discovery',
'JWT_DECODE_HANDLER': 'edx_rest_framework_extensions.utils.jwt_decode_handler',
'JWT_VERIFY_AUDIENCE': False,
}
SWAGGER_SETTINGS = {
......
......@@ -59,6 +59,7 @@ JWT_AUTH.update({
'JWT_SECRET_KEY': 'lms-secret',
'JWT_ISSUER': 'http://127.0.0.1:8000/oauth2',
'JWT_AUDIENCE': 'lms-key',
'JWT_VERIFY_AUDIENCE': False,
})
#####################################################################
......
......@@ -15,7 +15,7 @@ drf-haystack==1.6.0rc1
dry-rest-permissions==0.1.6
edx-auth-backends==0.5.0
edx-ccx-keys==0.2.0
edx-drf-extensions==1.0.0
edx-drf-extensions==1.1.0
edx-opaque-keys==0.3.1
edx-rest-api-client==1.6.0
elasticsearch>=1.0.0,<2.0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment