diff --git a/src/authentic2_idp_oidc/models.py b/src/authentic2_idp_oidc/models.py index bb60ab8a5..9f66c8a18 100644 --- a/src/authentic2_idp_oidc/models.py +++ b/src/authentic2_idp_oidc/models.py @@ -30,7 +30,6 @@ from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelatio from authentic2.a2_rbac.models import OrganizationalUnit from authentic2.models import Service -from authentic2.utils import to_iter from . import utils, managers, app_settings diff --git a/src/authentic2_idp_oidc/views.py b/src/authentic2_idp_oidc/views.py index 163b98414..e8b00322e 100644 --- a/src/authentic2_idp_oidc/views.py +++ b/src/authentic2_idp_oidc/views.py @@ -17,12 +17,10 @@ import logging import math import datetime -import json import base64 import time -from django.http import (HttpResponse, HttpResponseBadRequest, - HttpResponseNotAllowed, JsonResponse) +from django.http import (HttpResponse, HttpResponseNotAllowed, JsonResponse) from django.urls import reverse from django.utils import six from django.utils.encoding import force_text