From 78396717fec7b6b95d6d799f75c9073d5b42170c Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 5 Jan 2024 17:27:53 +0100 Subject: [PATCH] providers/oauth2: fix missing nonce in id_token (#8072) Signed-off-by: Jens Langhammer --- authentik/providers/oauth2/views/token.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/providers/oauth2/views/token.py b/authentik/providers/oauth2/views/token.py index 78931b6c8..b5aaf6b0d 100644 --- a/authentik/providers/oauth2/views/token.py +++ b/authentik/providers/oauth2/views/token.py @@ -495,6 +495,7 @@ class TokenView(View): access_token, self.request, ) + access_token.id_token.nonce = self.params.authorization_code.nonce access_token.save() response = {