Fix the issue with passing the secret