Skip to content
tenebrousedge edited this page Dec 26, 2012 · 1 revision

Route configuration is done in the normal Config/routes.php file. Configuration is limited to whatever is necessary to make your OAuth callback address work.

Example:
Router::connect('/oauth2callback', array('plugin' => 'myplugin', 'controller' => 'widgets', 'action' => 'callback'));

For more information regarding the controller callback, see Component Functions.