forked from shaba/openuds
Removed cache of SP metadata
This commit is contained in:
parent
28db2f4e93
commit
a135e3ae9b
@ -476,11 +476,6 @@ class SAMLAuthenticator(auths.Authenticator):
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@allowCache(
|
|
||||||
cachePrefix='spm',
|
|
||||||
cachingKeyFnc=CACHING_KEY_FNC,
|
|
||||||
cacheTimeout=3600, # 1 hour
|
|
||||||
)
|
|
||||||
def getSpMetadata(self) -> str:
|
def getSpMetadata(self) -> str:
|
||||||
saml_settings = OneLogin_Saml2_Settings(settings=self.oneLoginSettings())
|
saml_settings = OneLogin_Saml2_Settings(settings=self.oneLoginSettings())
|
||||||
metadata = saml_settings.get_sp_metadata()
|
metadata = saml_settings.get_sp_metadata()
|
||||||
|
Loading…
Reference in New Issue
Block a user