title: Algorithm Not Allowed error with Firebase trying to decode JWT token
body: <p>I am having a lot of issues trying to decrypt a JWT token using php and Firebase</p>
  
  <pre><code>&lt;?php
  
  ini_set('display_errors', 1);
  ini_set('display_startup_errors', 1);
  error_reporting(E_ALL);
  
  require 'vendor/autoload.php';
  
  use \Firebase\JWT\JWT;
  
  try {
      $key = 'MYKEY';
      $token = $_POST['id_token'];
      $data = JWT::decode($token, $key, array('HS256'));
  } catch (\Exception $e) { 
      echo $e;
  }
  
  ?&gt;
  </code></pre>
  
  <p>Algorithm not allowed in JWT.php:97</p>
  
  <p>Has anyone ever had this?</p>
  
  <p>Paul</p>