Remove access_token from user_info
This commit is contained in:
parent
adc70d2fe2
commit
f51a863158
3 changed files with 1 additions and 6 deletions
|
@ -4,9 +4,7 @@ from httmock import HTTMock
|
|||
|
||||
from data import model
|
||||
from data.users.oidc import OIDCInternalAuth
|
||||
from oauth.test.test_oidc import (id_token, oidc_service, signing_key, jwks_handler,
|
||||
discovery_handler, app_config, http_client,
|
||||
discovery_content)
|
||||
from oauth.test.test_oidc import *
|
||||
from test.fixtures import *
|
||||
|
||||
@pytest.mark.parametrize('username, expect_success', [
|
||||
|
|
|
@ -97,7 +97,6 @@ class OAuthService(object):
|
|||
|
||||
def get_user_info(self, http_client, token):
|
||||
token_param = {
|
||||
'access_token': token,
|
||||
'alt': 'json',
|
||||
}
|
||||
|
||||
|
|
|
@ -19,5 +19,3 @@ class OIDCAuthValidator(BaseValidator):
|
|||
OIDCInternalAuth(config, login_service_id, False)
|
||||
except UnknownServiceException as use:
|
||||
raise ConfigValidationException(use.message)
|
||||
|
||||
|
||||
|
|
Reference in a new issue