Skip to content

Commit

Permalink
use correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Martin committed Oct 13, 2023
1 parent b71a9ad commit ba20ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Token/AppleAccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(array $keys, array $options = [])
$decoded = JWT::decode($options['id_token'], $key);
} catch (\UnexpectedValueException $e) {
$headers = new \stdClass();
$headers['RS256'] = 'RS256';
$headers->RS256 = 'RS256';
$decoded = JWT::decode($options['id_token'], $key, $headers);
}
break;
Expand Down

0 comments on commit ba20ed2

Please sign in to comment.