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.
As per #2940041: Expand OAuth2Manager, we need to implement these new methods.
Comment | File | Size | Author |
---|---|---|---|
#8 | interdiff-7-8.txt | 515 bytes | MaskyS |
#8 | implement-new-methods-8.patch | 9.57 KB | MaskyS |
#7 | interdiff.txt | 1.72 KB | ankitjain28may |
#7 | implement-new-method-2947737-7.patch | 9.56 KB | ankitjain28may |
#5 | interdiff-2-5.txt | 2.91 KB | MaskyS |
Comments
Comment #2
MaskyS CreditAttribution: MaskyS commentedComment #3
MaskyS CreditAttribution: MaskyS commentedComment #4
gvsoI haven't tested it, but I found some issues with the code.
I don't think we should deal with this issue here.
We might not need this since there's no a release for Social Auth Amazon yet and no site is using the module
Should be just $data instead of json_encode($data)
The description in the other implementers is slightly different.
This needs to be an example from Amazon
Thanks!
Comment #5
MaskyS CreditAttribution: MaskyS commentedThanks for the review. Let's give it another try :)
Comment #6
gvsoThanks!
These changes shouldn't be done in this issue. Leave the .install file as it is.
This should be a semicolon.
Comment #7
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commentedFixed as per comment #6
Comment #8
MaskyS CreditAttribution: MaskyS at Google Code-In commented@ankitjain, there was a closing square bracket missing too so fixed it. Now, this just needs to be tested to see whether auth functionality is still working as intended.
Comment #9
gvsoI just read Amazon docs, and they don't offer much in terms of scopes and endpoints. Why even bother adding those options in the form and AuthManager? Their service seems to be a simple 'login with' functionality, not a complete API such as Facebook's, Google's, Microsoft's, and others'.
Also, please test your changes before submitting patches. It's not fun to test patches that fail straightforward routines. Plus, you can not guarantee that a patch fixes an issue if you don't try it yourself.
Comment #11
gvsoI considered this an important issue to make a beta release. We can keep improving the module if necessary later.
Thanks guys!