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.
Problem/Motivation
Even if there are tutorials to setup Oauth 2 authentication, like https://www.youtube.com/playlist?list=PLZOQ_ZMpYrZtqy5-o7KoDhM3n6M0duBjX.
I think having some minimal steps documented will help to improve the usage of the Oauth authentication plugin.
Proposed resolution
Either implements a hook_help in Entity Share Client, or add a dedicated documentation page on https://www.drupal.org/docs/contributed-modules/entity-share about authentication plugins.
Comment | File | Size | Author |
---|---|---|---|
#3 | OAuth_setup.txt | 736 bytes | yarik.lutsiuk |
Comments
Comment #2
yarik.lutsiuk CreditAttribution: yarik.lutsiuk at Smile commentedComment #3
yarik.lutsiuk CreditAttribution: yarik.lutsiuk at Smile commentedHello,
here is small guide for Oauth authentication setup.
Comment #4
GrimreaperComment #5
GrimreaperThanks @yarik.lutsiuk for the documentation.
As seen together, I will complete it to be like a fllow guide without need to think.
Also I got the following error, because of my setup. I guess this is because Guzzle options from settings.php to not verify SSL are not transmitted to the Oauth2 client library.
I will check how to do that.
Comment #6
GrimreaperTo not forget.
Precise to add the permission "Grant OAuth2 codes" to the role set up in the consumer.
Add a trim on all the configuration fields :) (strange, I thought it was automatic by the form API)
Comment #7
GrimreaperI have created the following documentation page https://www.drupal.org/docs/contributed-modules/entity-share/authorizati....
If you can give a look for confirmation.
Comment #8
GrimreaperComment #9
yarik.lutsiuk CreditAttribution: yarik.lutsiuk at Smile commentedHello,
looks cool, everything is on point and well described.
Cheers
Comment #10
GrimreaperHello @yarik.lutsiuk,
Thanks for the feedback! :)