This topic was originally posted by everdues2 on 3/30/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
Is it possible to setup aggregated verifier for google, mail, github, discord, twitter to get a similar private key? We successfully set it up for everything except discord. Looks like it is not possible to add discord option to such kind of aggregated verifier. Any suggestions please?
Hey @shahbaz
yes, I have successfully added sub-verifiers Google and GitHub with Auth0. However, I am currently facing an issue where the Discord option is not available in the Auth0 Application Type list. It appears that the Discord option disappeared after I added sub-verifiers (Google and GitHub).Do you have any suggestions on how to resolve this issue?
Hi @shahbaz
Yes, it seems to work, thank you! but an additional step has appeared, it opens an Auth0 authorization window, and I need to choose Discord from there to get it to work. Is it expected?
Use connection: "discord" in the extraLoginOptions:
const web3authProvider = await web3auth.connectTo(
WALLET_ADAPTERS.OPENLOGIN,
{
loginProvider: "auth0discord",
extraLoginOptions: {
domain: "https://web3auth.au.auth0.com",
// This corresponds to the field inside jwt, which must be used to uniquely identify the user.
verifierIdField: "email",
isVerifierIdCaseSensitive: false,
connection: "discord", // <--- Use this to skip Auth0 Modal.
},
}
);
ok, so just to clarify, It is not possible to add a Discord sub-verifier to my existing Aggregate Verifier. To include a Discord sub-verifier in my Aggregate Verifier, I need to create a new Aggregate Verifier that contains the Discord sub-verifier along with any other sub-verifiers I want to include. is it correct?