authentik.providers.saml.migrations.0025_samlprovider_ignore_force_authn

 1# Generated by Django 5.2.17 on 2026-10-19 09:25
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_providers_saml", "0024_samlprovider_jwt_federation_providers"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="samlprovider",
15            name="ignore_force_authn",
16            field=models.BooleanField(
17                db_default=False,
18                default=False,
19                help_text="When enabled, the ForceAuthn attribute set by the Service Provider on an AuthnRequest is ignored and an existing session is used. When disabled, ForceAuthn requires the user to re-authenticate.",
20            ),
21        ),
22    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_providers_saml", "0024_samlprovider_jwt_federation_providers"),
11    ]
12
13    operations = [
14        migrations.AddField(
15            model_name="samlprovider",
16            name="ignore_force_authn",
17            field=models.BooleanField(
18                db_default=False,
19                default=False,
20                help_text="When enabled, the ForceAuthn attribute set by the Service Provider on an AuthnRequest is ignored and an existing session is used. When disabled, ForceAuthn requires the user to re-authenticate.",
21            ),
22        ),
23    ]

The base class for all migrations.

Migration files will import this from django.db.migrations.Migration and subclass it as a class called Migration. It will have one or more of the following attributes:

  • operations: A list of Operation instances, probably from django.db.migrations.operations
  • dependencies: A list of tuples of (app_path, migration_name)
  • run_before: A list of tuples of (app_path, migration_name)
  • replaces: A list of migration_names

Note that all migrations come out of migrations and into the Loader or Graph as instances, having been initialized with their app label and name.

dependencies = [('authentik_providers_saml', '0024_samlprovider_jwt_federation_providers')]
operations = [<AddField model_name='samlprovider', name='ignore_force_authn', field=<django.db.models.fields.BooleanField>>]