Configuring this module was hard without some basic documentation on how to configure it. I've found this comment http://drupal.org/comment/reply/1293678/5390332#comment-5390332 by almul0 to be very helpful and it should provide a good start for a README.

Comments

basvredeling’s picture

Issue summary: View changes

added missing link to text

basvredeling’s picture

Outline of a README and drupal.org documentation might include the following:

  • Installation instructions
  • Links to official oauth documentation
  • What is a consumer?
  • What is a context?
  • Description of the dependencies and their role in the authentication process
  • Links and instructions for possible connector modules or clients
jeremyo’s picture

That would be extremely useful. In fact either this module or perhaps the OAuth module would benefit from some scenarios or use cases. It's a vexing and tangled area for the uninitiated and it would be very helpful to have examples that illustrate which modules are and aren't relevant, when. Your proposed structure for the README would accommodate this and looks like a good overall shape.

jlyon’s picture

I agree that a little direction would be really helpful. I have been playing around with the 7.x branch and have tried going through the steps on http://drupal.org/comment/reply/1293678/5390332#comment-5390332, but haven't been able to get the endpoint working at http://example.com/oauthlogin/api/user/info. I always get a controller error:

HTTP request sent, awaiting response... 404 Not found: Could not find the controller.
2012-04-16 09:07:27 ERROR 404: Not found: Could not find the controller.

I think my error might be related to #650776: Calling a custom service --> 404 could not find controler, but I haven't had any luck tweaking it. If/when I get this working I will create a patch filling in the documentation outline in #1.

spoco2’s picture

Hear Hear!

Why are so many Drupal modules provided with NO DOCUMENTATION

It's infuriatingly difficult to use these modules with NO guidance of how they are supposed to be used.

liberatr’s picture

Has anyone seen this page? Helped me out because it listed the URL I am supposed to use when generating a key:

http://drupal.org/node/1423272

hbalagtas’s picture

Anyone had luck making this work? I'm trying to get a wordpress site to connect with the main drupal site.

hbalagtas’s picture

So I've setup two drupal kickstart installation, one as the provider and one as the consumer, so far I've actually been able to get this working to where its saying "Authorization finished The application has been authorized" on the consumer, but there is no user created on my consumer drupal installation.

I'd like to have it setup like the facebook connector where users can setup an account on the drupal consumer.

hbalagtas’s picture

Issue summary: View changes

corrected username

matt2000’s picture

Issue summary: View changes

For what it's worth, I think oauthconnector module is unnecessarily complex. I wrote my own connector for my client/consumer sites following this as a template:

https://gist.github.com/voxpelli/1065774

That said, if anyone provides a README with accurate instructions for configuring this module with oauthconnector, I will commit it.

Spoco2 said:
> Why are so many Drupal modules provided with NO DOCUMENTATION
Because you haven't written the documentation for them, or paid anyone to write the documentation. Many Drupal modules are created by volunteers or sponsored by donors.