Flexible reading of clientId/secret