Skip to content

Commit f8774c3

Browse files
committed
Update idp requirements
1 parent b63d7e0 commit f8774c3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

oauth2_provider/views/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from django.views.decorators.csrf import csrf_exempt
1414
from django.views.decorators.debug import sensitive_post_parameters
1515
from django.views.generic import FormView, View
16-
from django_ratelimit.decorators import ratelimit
1716
from oauthlib.oauth2.rfc8628.errors import (
1817
AccessDenied,
1918
AuthorizationPendingError,
@@ -318,7 +317,6 @@ def authorization_flow_token_response(
318317
response[k] = v
319318
return response
320319

321-
@method_decorator(ratelimit(key="ip", rate=f"1/{oauth2_settings.DEVICE_FLOW_INTERVAL}"))
322320
def device_flow_token_response(
323321
self, request: http.HttpRequest, device_code: str, *args, **kwargs
324322
) -> http.HttpResponse:

tests/app/idp/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Django>=4.2,<=5.1
2-
django-cors-headers==3.14.0
2+
django-cors-headers==4.6.0
33
django-environ==0.11.2
44

55
-e ../../../

0 commit comments

Comments
 (0)