@@ -26,6 +26,8 @@ class Anafoauth(object):
AUTH_URL = 'https://logincert.anaf.ro/anaf-oauth2/v1/authorize'
TOKEN_URL = 'https://logincert.anaf.ro/anaf-oauth2/v1/token'
+ AUTH_URL_PARAMS = {'token_content_type': 'jwt'}
+ TOKEN_URL_BODY = {'token_content_type': 'jwt'}
def __init__(self, client_id=None, client_secret=None, redirect_uri=None, auth=None):
self.client_id = client_id