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.
In oauth_common.pages.inc, the function _oauth_common_authorize() returns a form with two links to deny access to an application which requested authentication via oauth.
$form['warning'] = array(
'#type' => 'item',
'#value' => l(t('If you don\'t know what !appname is, or don\'t want to give it access to your content, just click here and we\'ll take you away from this page without granting !appname any access to !sitename.', $msgargs), 'oauth/authorization/deny/' . $token->key),
'#attributes' => array(
'class' => 'abort-authorization',
),
);
and
$form['deny'] = array(
'#type' => 'item',
'#value' => l(t('Deny access'), 'oauth/authorization/deny/' . $token->key),
'#attributes' => array(
'class' => 'deny-access',
),
);
The menu callback has not been implemented in oauth_common_menu(). Perhaps it has been implemented somewhere else, so forgive my ignorance.
I thought to post this bug already, before trying to solve it.
Comments
Comment #1
Hugo Wetterberg CreditAttribution: Hugo Wetterberg commentedComment #2
voxpelli CreditAttribution: voxpelli commentedChanging this to critical as it's not good at all for two such vital links to be broken.
Comment #3
voxpelli CreditAttribution: voxpelli commentedReally really really need to fix this prior to stable release.
Comment #4
paulmckibbenSubscribe. This functionality is vital for me.
Comment #5
voxpelli CreditAttribution: voxpelli commentedWon't have time for this - deassigning myself to not give a false impression.