When asking for help in this category, please make sure to provide the following details:
- SDK Version: ^7.2.2
- Platform:
- Browser Console Screenshots:
- If the issue is related to Custom Authentication, please include the following information (optional):
- Verifier Name: prayers-testnet-firebase-verifier
- JWKS Endpoint: https://www.googleapis.com/service_accounts/v1/jwk/firebase-adminsdk-jhe8q@prayers-5cd09.iam.gserviceaccount.com
- Sample idToken (JWT): eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlhdCI6MTcwNTk4NzI3NiwiZXhwIjoxNzA1OTkwODc2LCJpc3MiOiJmaXJlYmFzZS1hZG1pbnNkay1qaGU4cUBwcmF5ZXJzLTVjZDA5LmlhbS5nc2VydmljZWFjY291bnQuY29tIiwic3ViIjoiZmlyZWJhc2UtYWRtaW5zZGstamhlOHFAcHJheWVycy01Y2QwOS5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IjUxODMxMDg5NzMifQ.BLoPPp9czZgjrQVjx3eGJkIvpkw9waHWmrIDyyKX1NZnoRyZRgjCAiKYBr6g9fqL7d_x35eIBz80Nf3q2EM6gOx9wHwGdKV2EWsSL9wHOXNIJWjJbF0F1weg9NEFwFSAT84GAlvYTqxYsh7jzyK6gOJqI6rIJlkGrP6Zg6QkDWiYOfukDNHLc-fsyUot2jMiL859PuoQqt46rnSmhmXrCSuCyjUT241i0bLo4AdLNlSrUuJub7ENpICBryzTIqs90zCvlDwfaGvbMgvaq9evJox3aSfhh_WPPTviIpAVYscWRPJVZmlZkfk5foMB2f0F2_o_ngsHMYragFRtsgvUdw
Also, kindly provide the Web3Auth initialization and login code snippet below. This will help us better understand your issue and provide you with the necessary assistance.
const token = await firebase
.auth()
.createCustomToken(userId);
console.log("verifier", config.WEB3AUTH_VERIFIER);
const provider = await web3auth.connect({
verifier: config.WEB3AUTH_VERIFIER,
verifierId: userId,
idToken: token,
});
if (!provider)
throw new TRPCError({
code: "INTERNAL_SERVER_ERROR",
});
const privateKey = await provider.request({
method: "eth_private_key",
});