fix for bug which caused client_id=[client_id, client_secret, callback_url]