authentik.sources.oauth.migrations.0015_oauthsource_url_textfields
1# Generated by Django 5.2.14 on 2026-07-16 17:48 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_sources_oauth", "0014_migrate_azuread_to_entraid"), 10 ] 11 12 operations = [ 13 migrations.AlterField( 14 model_name="oauthsource", 15 name="request_token_url", 16 field=models.TextField( 17 help_text="URL used to request the initial token. This URL is only required for OAuth 1.", 18 null=True, 19 verbose_name="Request Token URL", 20 ), 21 ), 22 migrations.AlterField( 23 model_name="oauthsource", 24 name="authorization_url", 25 field=models.TextField( 26 help_text="URL the user is redirect to to conest the flow.", 27 null=True, 28 verbose_name="Authorization URL", 29 ), 30 ), 31 migrations.AlterField( 32 model_name="oauthsource", 33 name="access_token_url", 34 field=models.TextField( 35 help_text="URL used by authentik to retrieve tokens.", 36 null=True, 37 verbose_name="Access Token URL", 38 ), 39 ), 40 migrations.AlterField( 41 model_name="oauthsource", 42 name="profile_url", 43 field=models.TextField( 44 help_text="URL used by authentik to get user information.", 45 null=True, 46 verbose_name="Profile URL", 47 ), 48 ), 49 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_sources_oauth", "0014_migrate_azuread_to_entraid"), 11 ] 12 13 operations = [ 14 migrations.AlterField( 15 model_name="oauthsource", 16 name="request_token_url", 17 field=models.TextField( 18 help_text="URL used to request the initial token. This URL is only required for OAuth 1.", 19 null=True, 20 verbose_name="Request Token URL", 21 ), 22 ), 23 migrations.AlterField( 24 model_name="oauthsource", 25 name="authorization_url", 26 field=models.TextField( 27 help_text="URL the user is redirect to to conest the flow.", 28 null=True, 29 verbose_name="Authorization URL", 30 ), 31 ), 32 migrations.AlterField( 33 model_name="oauthsource", 34 name="access_token_url", 35 field=models.TextField( 36 help_text="URL used by authentik to retrieve tokens.", 37 null=True, 38 verbose_name="Access Token URL", 39 ), 40 ), 41 migrations.AlterField( 42 model_name="oauthsource", 43 name="profile_url", 44 field=models.TextField( 45 help_text="URL used by authentik to get user information.", 46 null=True, 47 verbose_name="Profile URL", 48 ), 49 ), 50 ]
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.
operations =
[<AlterField model_name='oauthsource', name='request_token_url', field=<django.db.models.fields.TextField>>, <AlterField model_name='oauthsource', name='authorization_url', field=<django.db.models.fields.TextField>>, <AlterField model_name='oauthsource', name='access_token_url', field=<django.db.models.fields.TextField>>, <AlterField model_name='oauthsource', name='profile_url', field=<django.db.models.fields.TextField>>]