Problem/Motivation
Due to the change in https://www.drupal.org/project/drupal/issues/2699835 the TokenAuthUser class must now implement a getBundleEntity method
Steps to reproduce
Setup any endpoint, and then once you have a token and try to access it you'll receive the following error:
Fatal error: Class Drupal\simple_oauth\Authentication\TokenAuthUser contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\Entity\ContentEntityInterface::getBundleEntity) in <b>/var/www/html/modules/contrib/simple_oauth/src/Authentication/TokenAuthUser.php</b> on line <b>20</b><br />
Proposed resolution
Implement this method
Issue fork simple_oauth-3535871
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3535871-tokenauthuser
changes, plain diff MR !188
- 3535871-tokenauthuser-does-not
compare
Comments
Comment #4
justafishComment #5
bojan_dev commentedComment #7
bojan_dev commented@justafish thank you for reporting and the MR.
Comment #9
claudiu.cristea@bojan_dev, as this is critical, could we get a release including this?
Comment #10
bojan_dev commented@claudiu.cristea valid point, release 6.0.1 is now available!