Location: /application/config/routes.php

Community Auth only needs a single route, which is the route to the login page:

$route[LOGIN_PAGE] = 'examples/login';

You will create and customize your own login method in one of your application’s controllers, so come back and change the controller portion of this route when you are done.

Please note: Be aware that LOGIN_PAGE is a constant, and should not be inside quotes. This constant is defined in the auth_constants.php hook. If you’re getting an error that says that LOGIN_PAGE is not defined, it’s because you didn’t set up the hook correctly.