Thanks for reaching out! I’d be glad to help you with your integration. Here’s a brief summary of the situation:
SDK: PnP Web SDK
Problem: Integration issues with SDK package.json
Platform: React Native, Web, iOS, Android
To help the Web3Auth support team provide the best assistance, could you please include the following details:
Web3Auth Initialization & Login Code Snippets: This will help us understand how you’re initializing Web3Auth and calling the login function.
Browser Console Screenshots: These can provide insights into any errors or warnings that might be showing up during the integration process.
It looks like you might be working with custom authentication. Normally, we would need your JWKS Endpoint and a sample idToken (JWT), but if that information isn’t immediately available, we can proceed without it for now.
In the meantime, here’s a basic example of how you can include the Web3Auth SDK script tag in your project:
const clientId = "YOUR_CLIENT_ID"; // get this from your Web3Auth dashboard
const web3auth = new Web3Auth({
clientId,
network: 'testnet', // mainnet, testnet
});
async function init() {
await web3auth.initModal();
if (web3auth.provider) {
// user is already logged in
} else {
// show login modal
const provider = await web3auth.connect();
}
}
init();
Once we have the additional details, we can provide more specific guidance tailored to your case.
This response was generated by the Web3Auth Bot. A person from the Web3Auth team will review your query and assist you shortly.
The problem I’m having is finding the correct SDK on Web3Auth to integrate into my app and website. I’ve already lost my investor because I don’t seem to get anywhere with your support team. I need HELP!
How and where is the correct documentation to integrate the Plug n Play into my app and website? Is there a link?
What SDK should I be using and WHERE IS IT?
I have set yp verifiers and all that’s required but I’m stuck trying to figure out where to get the details to integrate into my app and website.
Hey @business.services
You can go through our docs to take an informed decision on which SDK to use by going through our docs here.
You can use the SDK reference to take help while implementing the PnP SDK.
That is your decision entirely, we can guide you if you tell us your requirements. All the SDKs are sufficiently discussed in our docs, please let us know if you need a deeper dive.
When you go through the SDK reference, you’ll see the parameter that accepts the verifier that you’ve created on the Web3Auth dashboard.
For a quick start, check out the following resources: