skip token and secret_key assignment if they are provided