auth_constants.php

Location (before install): /application/third_party/community_auth/hooks/auth_constants.php
Location (after install): /application/hooks/auth_constants.php

Use SSL

define('USE_SSL', 0);

If SSL is not available, set this setting to 0. If SSL is available, set this setting to 1. Community Auth does not work with shared SSL.


Login Page

define('LOGIN_PAGE', 'login');

This is the URI string to the hidden login route. This constant changes the route to the login page.


Authentication Redirect Parameter

define('AUTH_REDIRECT_PARAM', 'redirect');

This is the query string parameter ($_GET param) that Community Auth uses to redirect a user after a successful login. Added in v3.2.2, this was made customizable in case the parameter would conflict with an existing application.


Authentication Logout Parameter

define('AUTH_LOGOUT_PARAM', 'logout');

This is the query string parameter ($_GET param) that Community Auth uses to indicate that a logout message should be shown to the user when they are logging out. Added in v3.2.2, this was made customizable in case the parameter would conflict with an existing application.