use "voluntaryScopes" rather than "optionalScopes"