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.
Is there any documentation on how to write a REST client with IOAuth using the module? An example would be great.
Thanks
Comments
Comment #1
ronnbot CreditAttribution: ronnbot commentedI have a function something like below to make oauth requests (implemented on D7 but should be similar):
Before being able to make oauth request, you'll need to do some stuff to get the access token.
Initiate oauth process by getting a request token and allowing user to give access to our 'app':
Then process the resulting access token by implementing hook_oauth_common_authorized:
Comment #2
Hugo Wetterberg CreditAttribution: Hugo Wetterberg commentedClosing this as the question was answered.