Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The access check for user/%user/oauth/authorizations/%oauth_common_provider_token is currently
'access callback' => '_oauth_common_user_access',
'access arguments' => array(1, 'oauth authorize consumers'),
This fails because there is no 'oauth authorize consumers' permission.
There is one for 'Authorize any OAuth consumers' which seems overly broad and in addition there are permissions like 'Authorize OAuth consumers in NAME<\i>'. Using the later though would require a different access function that takes both user and token.
Comments
Comment #1
jobeirne CreditAttribution: jobeirne commentedThis was fixed in one of the last few commits. Thanks for the report.
Comment #2
jobeirne CreditAttribution: jobeirne commented