This topic was originally posted by s11 on 5/31/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
Hi I am trying to set up an aggregate verifier. I have created the aggregate verifier with a google and auth0 sub verifier. I seem to be initializing everything as expected, but I get the error:
Custom require either serviceProvider or priv key in getGenericMetadataWithTransitionStates
Has anyone been able to get this working with @tkey/default package? I get this error:
“name”: “CoreError”,
“code”: 1000,
“message”: “Custom require either serviceProvider or priv key in getGenericMetadataWithTransitionStates”
// when user clicks google button, use this
const common = {
aggregateVerifierType: "single_id_verifier",
verifierIdentifier: "dep-labs-dev-aggregate",
subverifierDetailsArray: [google],
};
// when user clicks auth0 login button, use this
const common = {
aggregateVerifierType: "single_id_verifier",
verifierIdentifier: "dep-labs-dev-aggregate",
subverifierDetailsArray: [auth0],
};
This is my test net aggregator validator dep-dev-1
Then my two sub validators are dep-dev-1-google and dep-dev-1-auth0
I still get the error Custom require either serviceProvider or priv key in getGenericMetadataWithTransitionStates for both Auth0 and Google. I have successfully created a standalone Google validator and authenticated successfully, so my service worker and code seem to be set up correctly. I think there’s an issue with the aggregate validator.