Skip to content

Commit 26e852e

Browse files
authored
providers/oauth2: fix migration dependencies (#12123)
we had to change these dependencies for 2024.8.x since that doesn't have invalidation flows they also need to be changed for 2024.10 when upgrading, and these migrations don't need the invalidation flow migration at all Signed-off-by: Jens Langhammer <jens@goauthentik.io>
1 parent 95f54ab commit 26e852e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

authentik/providers/oauth2/migrations/0022_remove_accesstoken_session_id_and_more.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def migrate_session(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
3737
class Migration(migrations.Migration):
3838

3939
dependencies = [
40-
("authentik_core", "0040_provider_invalidation_flow"),
40+
("authentik_core", "0039_source_group_matching_mode_alter_group_name_and_more"),
4141
("authentik_providers_oauth2", "0021_oauth2provider_encryption_key_and_more"),
4242
]
4343

authentik/providers/oauth2/migrations/0023_alter_accesstoken_refreshtoken_use_hash_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class Migration(migrations.Migration):
99

1010
dependencies = [
11-
("authentik_core", "0040_provider_invalidation_flow"),
11+
("authentik_core", "0039_source_group_matching_mode_alter_group_name_and_more"),
1212
("authentik_providers_oauth2", "0022_remove_accesstoken_session_id_and_more"),
1313
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1414
]

0 commit comments

Comments
 (0)