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

Command icon 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:

Comments

justafish created an issue. See original summary.

justafish changed the visibility of the branch 3535871-tokenauthuser-does-not to hidden.

justafish’s picture

Status: Active » Needs review
bojan_dev’s picture

Status: Needs review » Needs work

bojan_dev’s picture

Assigned: justafish » Unassigned
Status: Needs work » Fixed

@justafish thank you for reporting and the MR.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

claudiu.cristea’s picture

@bojan_dev, as this is critical, could we get a release including this?

bojan_dev’s picture

@claudiu.cristea valid point, release 6.0.1 is now available!