I’m trying to get version 1.x of auth0-drupal module working with Drupal 7. Everything works fine until I log in and return to the callback page, at which point I get
Fatal error: Class ‘OAuth2\Client’ not found in /[path]/sites/all/modules/contrib/auth0-drupal/vendor/auth0/auth0-php/src/Auth0.php on line 206
The OAuth2/Client class is defined in /[path]/sites/all/modules/contrib/auth0-drupal/vendor/adoy/oauth2/src/OAuth2/Client.php . Any idea why it’s not autoloading?
I posted this question already at https://github.com/auth0/auth0-drupal/issues/72 , but an Auth0 rep recommended I post it here as well. Thank you in advance.