diff --git a/authentik/sources/saml/migrations/0022_samlsource_sign_authn_request_and_more.py b/authentik/sources/saml/migrations/0022_samlsource_sign_authn_request_and_more.py index 5afaf78e15..0c5a9d8dd5 100644 --- a/authentik/sources/saml/migrations/0022_samlsource_sign_authn_request_and_more.py +++ b/authentik/sources/saml/migrations/0022_samlsource_sign_authn_request_and_more.py @@ -19,7 +19,7 @@ class Migration(migrations.Migration): model_name="samlsource", name="sign_authn_request", field=models.BooleanField( - default=False, + default=True, help_text="Whether to sign outgoing AuthnRequests. Requires a Signing Keypair to be set.", verbose_name="Sign AuthnRequest", ), @@ -28,7 +28,7 @@ class Migration(migrations.Migration): model_name="samlsource", name="sign_logout_request", field=models.BooleanField( - default=False, + default=True, help_text="Whether to sign outgoing LogoutRequests. Requires a Signing Keypair to be set.", verbose_name="Sign LogoutRequest", ), diff --git a/authentik/sources/saml/models.py b/authentik/sources/saml/models.py index bc19570ddc..9d76b1f10e 100644 --- a/authentik/sources/saml/models.py +++ b/authentik/sources/saml/models.py @@ -147,14 +147,14 @@ class SAMLSource(Source): ) sign_authn_request = models.BooleanField( - default=False, + default=True, verbose_name=_("Sign AuthnRequest"), help_text=_( "Whether to sign outgoing AuthnRequests. Requires a Signing Keypair to be set." ), ) sign_logout_request = models.BooleanField( - default=False, + default=True, verbose_name=_("Sign LogoutRequest"), help_text=_( "Whether to sign outgoing LogoutRequests. Requires a Signing Keypair to be set."