Recently I have created a new verifier on Sapphire Devnet, since testnet is being deprecated, but its not working tiggerLogin is failing while connecting to sapphire node and returning 405.
export const directParams: CustomAuthArgs = {
baseUrl: ${window.location.origin}/serviceworker
,
enableLogging: true,
network: “sapphire_devnet” as any,
web3AuthClientId: “myclientId”,
};
Initially the SDK version was 7.3.0 then I upgraded it to 9.0.1 which I guess latest tkey SDK version, but still it not worked for me.
Browser logs:
torus-direct/getTorusKey
{
"torusNodeEndpoints": [
"https://sapphire-dev-2-1.authnetwork.dev",
"https://sapphire-dev-2-2.authnetwork.dev",
"https://sapphire-dev-2-3.authnetwork.dev",
"https://sapphire-dev-2-4.authnetwork.dev",
"https://sapphire-dev-2-5.authnetwork.dev"
],
"torusNodePub": [
{
"X": "f74389b0a4c8d10d2a687ae575f69b20f412d41ab7f1fe6b358aa14871327247",
"Y": "54e3a73098ed9bced3ef8821736e9794f9264a1420c0c7ad15d2fa617ba35ef7"
},
{
"X": "bc38813a6873e526087918507c78fc3a61624670ee851ecfb4f3bef55d027b5a",
"Y": "ac4b21229f662a0aefdfdac21cf17c3261a392c74a8790db218b34e3e4c1d56a"
},
{
"X": "b56541684ea5fa40c8337b7688d502f0e9e092098962ad344c34e94f06d293fb",
"Y": "759a998cef79d389082f9a75061a29190eec0cac99b8c25ddcf6b58569dad55c"
},
{
"X": "7bcb058d4c6ffc6ba4bfdfd93d141af35a66338a62c7c27cdad2ae3f8289b767",
"Y": "336ab1935e41ed4719e162587f0ab55518db4207a1eb36cc72303f1b86689d2b"
},
{
"X": "bf12a136ef94399ea098f926f04e26a4ec4ac70f69cce274e8893704c4951773",
"Y": "bdd44828020f52ce510e026338216ada184a6867eb4e19fb4c2d495d4a7e15e4"
}
],
"torusIndexes": [
1,
2,
3,
4,
5
]
},
Response: 405
wallet.bundle.js:2 Url: https://sapphire-dev-2-1.authnetwork.dev/
wallet.bundle.js:2 Response: 405
wallet.bundle.js:2 Url: https://sapphire-dev-2-3.authnetwork.dev/
wallet.bundle.js:2 Response: 405
wallet.bundle.js:2 Url: https://sapphire-dev-2-2.authnetwork.dev/
wallet.bundle.js:2 Response: 405
wallet.bundle.js:2 Url: https://sapphire-dev-2-5.authnetwork.dev/
wallet.bundle.js:2 Response: 405
wallet.bundle.js:2 Url: https://sapphire-dev-2-4.authnetwork.dev/
- SDK Version: 9.1.0
- Verifier Details:
- Verifier Name:walletdev-keycloak-verifier
- JWKS Endpoint: https://dplatdev.zbyte.io/zbyte-sso/oidc/community/metadata/jwks.json
- Sample idToken(JWT):