Active
Project:
OAuth2 Server
Version:
2.1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
2 Apr 2026 at 10:51 UTC
Updated:
2 Apr 2026 at 12:12 UTC
Jump to comment: Most recent
When revoking an access token, the OAuth2 library expects the storage class to implement unsetAccessToken().
However, Drupal\oauth2_server\OAuth2Storage does not implement this method, resulting in a runtime exception:
RuntimeException: Token storage Drupal\oauth2_server\OAuth2Storage must implement unsetAccessToken method in OAuth2\ResponseType\AccessToken->revokeToken()
Proposed solution:
| Comment | File | Size | Author |
|---|---|---|---|
| revoke_access_token.patch | 960 bytes | alchenemy |
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