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

Marko B’s picture

Title: oAuth 2 » oAuth 2.0 standard
juampynr’s picture

Status: Active » Closed (fixed)

I think you are looking for https://drupal.org/project/oauth2_server

Marko B’s picture

I 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?

juampynr’s picture

Status: Closed (fixed) » Fixed

@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).

Marko B’s picture

Yes I did look how twitter does it and how it uses this module. thanx

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.