We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be3d458 commit eca9b96Copy full SHA for eca9b96
1 file changed
rootfs/api/backend.py
@@ -2,6 +2,7 @@
2
from django.contrib.auth import get_user_model
3
from django.core.exceptions import ObjectDoesNotExist
4
5
+from social_core.utils import cache
6
from social_core.backends.oauth import BaseOAuth2
7
from social_core.backends.open_id_connect import OpenIdConnectAuth
8
@@ -96,8 +97,6 @@ class DryccOIDC(OpenIdConnectAuth):
96
97
('scope', 'scope'),
98
]
99
- from social_core.utils import cache
100
-
101
@cache(ttl=86400)
102
def oidc_config(self):
103
return self.get_json(self.OIDC_ENDPOINT +
0 commit comments