From 61d473f7962a82ae0b70af6580a0c69e054cb2e5 Mon Sep 17 00:00:00 2001 From: Pavel Stratil Date: Tue, 21 Jan 2025 22:31:59 +0100 Subject: [PATCH] goin back to profile, profiles aggregation needs a diff data schema --- src/JWT.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JWT.php b/src/JWT.php index 1c13bc6..0cd0e60 100644 --- a/src/JWT.php +++ b/src/JWT.php @@ -237,7 +237,7 @@ public function matchToken(): array|object if (!$res) { $doc = [ 'uuid' => $this->jwtClaims['sub'], - 'profiles' => [ + 'profile' => [ $this->jwtClaims['issuer'] => [ 'name' => $this->jwtClaims['name'], 'email' => $this->jwtClaims['email'],