diff --git a/fyle_rest_auth/authentication.py b/fyle_rest_auth/authentication.py index e08504e..ec55d11 100644 --- a/fyle_rest_auth/authentication.py +++ b/fyle_rest_auth/authentication.py @@ -75,12 +75,16 @@ def validate_token(access_token_string: str, origin_address: str) -> Dict: email = cache.get(email_unique_key) user = cache.get(user_unique_key) - logger.info('email, user unique key, email unique key %s, %s, %s', email, user_unique_key, email_unique_key) + logger.info( + 'email, user unique key, email unique key user %s, %s, %s, %s', + email, user_unique_key, email_unique_key, user + ) if not (email and user): cache.delete_many([email_unique_key, user_unique_key]) try: employee_info = get_fyle_admin(access_token_string.split(' ')[1], origin_address) + logger.info('employee_info %s', employee_info) except Exception: raise AuthenticationFailed('Invalid access token') diff --git a/setup.py b/setup.py index dbed80e..2822b88 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='fyle-rest-auth', - version='1.7.3', + version='1.7.4', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='Django application to implement OAuth 2.0 using Fyle in Django rest framework',