nicer error visualization and option to provide clientId via URL