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.
I have been doing work on integrating OAuth Connector as a client of a DotNetOpenAuth service provider, which requires POST requests to the token endpoint. However, I noticed that OAuth Connector includes parameters both in GET and POST, is there a reason for that? Shouldn't it be either-or?
Attached is a patch that would fix it.
Comment | File | Size | Author |
---|---|---|---|
#1 | oauth.patch | 517 bytes | TripleEmcoder |
Comments
Comment #1
TripleEmcoder CreditAttribution: TripleEmcoder commentedComment #2
TripleEmcoder CreditAttribution: TripleEmcoder commentedSorry, selected wrong project.
Comment #3
TripleEmcoder CreditAttribution: TripleEmcoder commentedI am making a fool out of myself... Sorry again.
Comment #4
skylord CreditAttribution: skylord commented+1
Also this behaviour breaks support for russian social network odnoklassniki.ru (second on local market) - it requires POST and is confused when data comes from both ways.
Fixing this doesn't break other providers as i see, so commit is welcome. :-)
Comment #5
bojanz CreditAttribution: bojanz commentedCommitted, thanks!