Commit eab057c8 by Clinton Blackburn

Corrected JWT data type

ECOM-4653
parent 372c59e4
......@@ -41,7 +41,7 @@ def get_id_token(user):
}
secret_key = helpers.get_value('JWT_AUTH', settings.JWT_AUTH)['JWT_SECRET_KEY']
return jwt.encode(payload, secret_key)
return jwt.encode(payload, secret_key).decode('utf-8')
def course_discovery_api_client(user):
......
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