sverraest / revolut-php

💳 PHP Bindings for the Revolut Business API

Home Page:https://revolutdev.github.io/business-api/#api-v1-0-introduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class "Lcobucci\JWT\Configuration" not found

ahosker opened this issue · comments

It did work but now im getting the following:

 Error 

  Class "Lcobucci\JWT\Configuration" not found

  at vendor/vdbelt/oauth2-revolut/src/Provider/Revolut.php:134
    130▕      */
    131▕     public function getAccessToken($grant, array $options = [])
    132▕     {
    133▕         $time = new DateTimeImmutable();
  ➜ 134▕         $config = Configuration::forSymmetricSigner(new Sha256(), $this->getPrivateKey());
    135▕ 
    136▕         $token = $config->builder()
    137▕             ->issuedBy(parse_url($this->redirectUri, PHP_URL_HOST))
    138▕             ->permittedFor('https://revolut.com')

  1   app/Console/Commands/RevolutGet.php:133
      League\OAuth2\Client\Provider\Revolut::getAccessToken()

  2   app/Console/Commands/RevolutGet.php:108
      App\Console\Commands\RevolutGet::generateNewToken()