changed 'configAuth' to 'secure'