f
This commit is contained in:
parent
bc8f53859d
commit
ec2fa462b1
|
@ -110,7 +110,7 @@ class Setting(db.Model):
|
|||
'oidc_oauth_email': 'email',
|
||||
'oidc_oauth_account_name_property': '',
|
||||
'oidc_oauth_account_description_property': '',
|
||||
'saml_enabled': False,
|
||||
'saml_enabled': True,
|
||||
'saml_debug': True,
|
||||
'saml_metadata_url': 'https://example.com/metadata.xml',
|
||||
'saml_metadata_cache_lifetime': '1',
|
||||
|
|
|
@ -22,7 +22,7 @@ from ..models.domain_template import DomainTemplate
|
|||
from ..models.domain_template_record import DomainTemplateRecord
|
||||
from ..models.api_key import ApiKey
|
||||
from ..models.base import db
|
||||
|
||||
from ..services.saml import SAML
|
||||
from ..lib.schema import ApiPlainKeySchema
|
||||
|
||||
apikey_plain_schema = ApiPlainKeySchema(many=True)
|
||||
|
@ -1694,6 +1694,8 @@ def setting_authentication():
|
|||
'msg':
|
||||
'Saved successfully. Please reload PDA to take effect.'
|
||||
}
|
||||
global saml
|
||||
saml = SAML()
|
||||
else:
|
||||
return abort(400)
|
||||
|
||||
|
|
Loading…
Reference in a new issue