From 4aa3de94d47dbef8570c0665b1d663eca64aa220 Mon Sep 17 00:00:00 2001 From: orenzhang <41963680+OrenZhang@users.noreply.github.com> Date: Wed, 3 Jun 2026 14:41:05 +0800 Subject: [PATCH] feat(account): add email_verified claim to user JWT --- apps/account/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/account/utils.py b/apps/account/utils.py index f2714a4..a226eda 100644 --- a/apps/account/utils.py +++ b/apps/account/utils.py @@ -9,6 +9,7 @@ def userinfo(claims, user): "preferred_username": user.username, "updated_at": user.last_login.strftime(api_settings.DATETIME_FORMAT), "email": user.email_address, + "email_verified": True, } ) return claims