resources/oauth_config.rb in plezi-0.8.4 vs resources/oauth_config.rb in plezi-0.8.5
- old
+ new
@@ -14,11 +14,11 @@
# #
# # Then, require the actual OAuth2 controller class (Plezi::OAuth2Ctrl).
# #
# require 'plezi/oauth'
# #
-# # Last, but not least, remember to add the authentication route in the correct placement using:
-# create_auth_shared_route do |service_name, remote_user_id, remote_user_email, remote_response|
+# # Last, but not least, remember to add the authentication route in the 'routes.rb' (remember path priority placement):
+# create_auth_shared_route do |service_name, auth_token, remote_user_id, remote_user_email, remote_response|
# # ...callback for authentication.
# # This callback should return the app user object or false
# # This callback hass access to the magic controller methods (request, cookies, etc')
# end