From 18472c231a0fa577a8082ec2a2d90212ce58096e Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 25 Jul 2023 11:58:16 +0200 Subject: [PATCH] enterprise: fix license check not using the proper JWT algorithm Signed-off-by: Marc 'risson' Schmitt --- authentik/enterprise/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/enterprise/models.py b/authentik/enterprise/models.py index 1b8193cc2..103859b23 100644 --- a/authentik/enterprise/models.py +++ b/authentik/enterprise/models.py @@ -73,7 +73,7 @@ class LicenseKey: decode( jwt, our_cert.public_key(), - algorithms=["ES521"], + algorithms=["ES512"], audience=get_license_aud(), ), )