Added the option credentialsRequired