diff --git a/openedx/core/djangoapps/credentials/utils.py b/openedx/core/djangoapps/credentials/utils.py index 1d7b70c205..badebc152c 100644 --- a/openedx/core/djangoapps/credentials/utils.py +++ b/openedx/core/djangoapps/credentials/utils.py @@ -34,7 +34,8 @@ def get_credentials_api_client(user, org=None): org (str): Optional organization to look up the site config for, rather than the current request """ - jwt = create_jwt_for_user(user) + scopes = ['email', 'profile', 'user_id'] + jwt = create_jwt_for_user(user, scopes=scopes) if org is None: url = CredentialsApiConfig.current().internal_api_url # by current request