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 am new to oAuth and I see at the top there is only version 1.0 mentioned. I would like to make a module with oAuth 2.0 version for login authentication, would using this module be any good for that or do I need completely different code for that version of oAuth?
Comments
Comment #1
Marko B CreditAttribution: Marko B commentedComment #2
juampynr CreditAttribution: juampynr commentedI think you are looking for https://drupal.org/project/oauth2_server
Comment #3
Marko B CreditAttribution: Marko B commentedI am actually asking about client side. To build something like twitter_signin (submodule of twitter). Can oAuth - oauth_common part be used for oAuth 2.0 login? Or are they completely different things?
Comment #4
juampynr CreditAttribution: juampynr commented@Marko B, for the client side, you could look into how Twitter module does it. It uses this module's codebase. However, at the end it is a matter of making HTTP requests, so instead I would recomend using Guzzle + it's OAuth plugin.
I am marking this as fixed, in case you require further feedback in the following 2 weeks (after 2 weeks the issue will be automatically closed).
Comment #5
Marko B CreditAttribution: Marko B commentedYes I did look how twitter does it and how it uses this module. thanx