Skip to content

Commit

Permalink
Get nonce when constructing JWT Payload
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardnll committed Oct 28, 2021
1 parent 1bf4ec2 commit f08072c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Auth/Factory/AppleJwtStructFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public function createJwtPayloadFromToken(Token $token): JwtPayload
// For some reason Apple API returns boolean flag as a string
(string) $claims->get('is_private_email', 'false') === 'true',
$claims->get('auth_time'),
$claims->get('nonce_supported', false)
$claims->get('nonce_supported', false),
$claims->get('nonce')
);
}
}

0 comments on commit f08072c

Please sign in to comment.