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.
Regardless of what happens during the oauth or oauth2 callback, the message "The application has been authorized" is displayed.
If authorization fails (e.g. no "code" or "oauth_token" parameter in the query string) 2 things should happen:
1. This message should not be displayed
2. Other modules should have a chance to react, ie. a hook like "oauth_common_denied" should be invoked