Removed cache of SP metadata

This commit is contained in:
Adolfo Gómez García 2022-06-20 15:10:27 +02:00
parent 28db2f4e93
commit a135e3ae9b

View File

@ -476,11 +476,6 @@ class SAMLAuthenticator(auths.Authenticator):
},
}
@allowCache(
cachePrefix='spm',
cachingKeyFnc=CACHING_KEY_FNC,
cacheTimeout=3600, # 1 hour
)
def getSpMetadata(self) -> str:
saml_settings = OneLogin_Saml2_Settings(settings=self.oneLoginSettings())
metadata = saml_settings.get_sp_metadata()