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.
On admin/user/user I get
Fatal error: Call to undefined function oauth_common_authorization_contexts() in /opt/local/apache2/htdocs/goog/profiles/google_auth/modules/contrib/oauth_common/oauth_common.module on line 61
Comment | File | Size | Author |
---|---|---|---|
#3 | 842990-3_oauth_common_authorization_contexts.patch | 1.45 KB | alex_b |
Comments
Comment #1
alex_b CreditAttribution: alex_b commentedOk, this seems to be fixed in DRUPAL-6--2 - release?
Comment #2
alex_b CreditAttribution: alex_b commentedUh, no, it isn't.
Comment #3
alex_b CreditAttribution: alex_b commentedShould it be oauth_common_context_list() instead of oauth_common_authorization_contexts() ?
Comment #4
voxpelli CreditAttribution: voxpelli commentedMoving to the OAuth module as the OAuth Common module has replaced it.
Comment #5
voxpelli CreditAttribution: voxpelli commentedHas already been fixed in 6.x-3.0-beta1
Comment #7
alphex CreditAttribution: alphex commentedIs there any plan on fixing this for 2.x
Or, better... making Twitter Signin work with OAuth 3.x?
I've gotten Twitter Signin to work with OAuth_Common 2.x. But its generating this error which is making managing user settings pretty difficult.
Comment #8
alphex CreditAttribution: alphex commentedIn my specific case, I commented out the FOREACH statement that generates this error.
That foreach statement begins on line 61
This works for ME, it obviously breaks other functionality if you need to authorize consumers in your permissions. Which I don't for my site.
Comment #9
voxpelli CreditAttribution: voxpelli commented@duran: Oh - I got so many things to respond to this and I will try my best to sound nice while saying it:
1. The Twitter module clearly states that it uses the 2.x version of the OAuth.module.
2. The OAuth.module clearly states that 3.x and 2.x isn't compatible in any way.
3. OAuth.module 2.x will receive no fixes.
3. There is no longer any method like oauth_common_authorization_contexts() in 3.x.
4. Once again - the Twitter module uses the 2.x version of OAuth.module and not 3.x.
Will the Twitter module be upgraded to work with OAuth 3.x? I certainly hope so. Until then, if you only need to log in with Twitter, you can try my pretty very early version of OAuth Connector: http://drupal.org/project/oauthconnector