I try to connect web#auth no-modal with my custom auth (JWT)

Hi, with our development team are integrating web3auth with our custom auth (JWT)

1- our verifier still on processing after a 2-3 hours
2- When we try to make the connection we have this error on openProvider page:

Unable to detect login share from the Auth Network. This may be due to slow internet connection. Check your internet speed and try again. If you’re using a vpn, please turn it off.***

3- also the openlogin page show this error:

{
  "errorMsg": "Could not get result from torus nodes \n Cannot read properties of undefined (reading 'toString')",
  "errorStack": "Error: Could not get result from torus nodes \n Cannot read properties of undefined (reading 'toString')\n    at D (https://beta.openlogin.com/js/callback.5a6b27ba.js:1:5625)\n    at s.mounted (https://beta.openlogin.com/js/callback.5a6b27ba.js:1:25489)",
  "title": "Mount Error",
  "createdAt": "7/6/2023, 16:39:39",
  "info": {
    "customAuthState": {
      "client": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjIxOCwibmFtZSI6bnVsbCwiZW1haWwiOiJiYXJiZWl0b2xlYW5kcm9AZ21haWwuY29tIiwiYXVkIjoidGVzdC1hcGkud2luLmludmVzdG1lbnRzL2FwaS92MiIsImlzcyI6Imh0dHBzOi8vdGVzdC1hcGkud2luLmludmVzdG1lbnRzIiwiaWF0IjoxNjg2MTcxODQ2LCJleHAiOjE2ODYxNzU0NDZ9.HaXXbTS3i4gou-EW9s_eo3ZZAHfLHXspPnNl7fKg6BZgHB3kGOFxvTatwwAGI5SIbPy5hRKMkJb8P9iuLdgSug",
      "currentLoginProvider": "jwt",
      "popupWindow": "false",
      "pid": "fa4c998a82e71d3ae95c145d18eb8cc7d7f89a21e1048ec873c63921fa4ca2e4",
      "whiteLabel": "{}",
      "keyMode": "v1",
      "isCustomVerifier": "true",
      "instanceId": "j6gfwqy2x7i",
      "verifier": "test-api.win.investments/api/v2",
      "typeOfLogin": "jwt",
      "redirectToOpener": false
    },
    "customAuthArgs": {
      "typeOfLogin": "jwt",
      "verifier": "test-api.win.investments/api/v2",
      "clientId": "BPlqcXWtIzSSagmw9-vk5JhRzQB1IkWcmkZ4Vyzdfobexd1pfTOd8mp4xXDDJA2mJhOrxpkv_C8CwIfxH-eWyTA",
      "jwtParams": {
        "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjIxOCwibmFtZSI6bnVsbCwiZW1haWwiOiJiYXJiZWl0b2xlYW5kcm9AZ21haWwuY29tIiwiYXVkIjoidGVzdC1hcGkud2luLmludmVzdG1lbnRzL2FwaS92MiIsImlzcyI6Imh0dHBzOi8vdGVzdC1hcGkud2luLmludmVzdG1lbnRzIiwiaWF0IjoxNjg2MTcxODQ2LCJleHAiOjE2ODYxNzU0NDZ9.HaXXbTS3i4gou-EW9s_eo3ZZAHfLHXspPnNl7fKg6BZgHB3kGOFxvTatwwAGI5SIbPy5hRKMkJb8P9iuLdgSug",
        "verifierIdField": "email;"
      },
      "customState": {
        "client": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjIxOCwibmFtZSI6bnVsbCwiZW1haWwiOiJiYXJiZWl0b2xlYW5kcm9AZ21haWwuY29tIiwiYXVkIjoidGVzdC1hcGkud2luLmludmVzdG1lbnRzL2FwaS92MiIsImlzcyI6Imh0dHBzOi8vdGVzdC1hcGkud2luLmludmVzdG1lbnRzIiwiaWF0IjoxNjg2MTcxODQ2LCJleHAiOjE2ODYxNzU0NDZ9.HaXXbTS3i4gou-EW9s_eo3ZZAHfLHXspPnNl7fKg6BZgHB3kGOFxvTatwwAGI5SIbPy5hRKMkJb8P9iuLdgSug",
        "currentLoginProvider": "jwt",
        "popupWindow": "false",
        "pid": "fa4c998a82e71d3ae95c145d18eb8cc7d7f89a21e1048ec873c63921fa4ca2e4",
        "whiteLabel": "{}",
        "keyMode": "v1",
        "isCustomVerifier": "true"
      },
      "hash": "state=eyJjbGllbnQiOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpTVXpJMU5pSjkuZXlKemRXSWlPakl4T0N3aWJtRnRaU0k2Ym5Wc2JDd2laVzFoY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zcyI6Imh0dHBzOi8vdGVzdC1hcGkud2luLmludmVzdG1lbnRzIiwiaWF0IjoxNjg2MTcxODQ2LCJleHAiOjE2ODYxNzU0NDZ9.HaXXbTS3i4gou-EW9s_eo3ZZAHfLHXspPnNl7fKg6BZgHB3kGOFxvTatwwAGI5SIbPy5hRKMkJb8P9iuLdgSug&verifierIdField=email%3B",
      "queryParameters": {}
    },
    "customAuthError": "Could not get result from torus nodes \n Cannot read properties of undefined (reading 'toString')",
    "customAuthHashParams": {
      "state": "eyJjbGllbnQiOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpTVXpJMU5pSjkuZXlKemRXSWlPakl4T0N3aWJtRnRaU0k2Ym5Wc2JDd2laVzFoYVd3aU9pSmlZWEppWldsMGIyeGxZVzVrY205QVoyMWhhV3d1WTI5dElpd2lZWFZrSWpvaWRHVnpkQzFoY0drdWQybHVMbWx1ZG1WemRHMWxiblJ6TDJGd2FTOTJNaUlzSW1semN5STZJbWgwZEhCek9pOHZkR1Z6ZEMxaGNHa3VkMmx1TG1sdWRtVnpkRzFsYm5Seklpd2lhV0YwSWpveE5qZzJNVGN4T0RRMkxDSmxlSEFpT2pFMk9EWXhOelUwTkRaOS5IYVhYYlRTM2k0Z291LUVXOXNfZW8zWlpBSGZMSFhzcFBuTmw3ZktnNkJaZ0hCM2tHT0Z4dlRhdHd3QUdJNVNJYlB5NWhSS01rSmI4UDlpdUxkZ1N1ZyIsImN1cnJlbnRMb2dpblByb3ZpZGVyIjoiand0IiwicG9wdXBXaW5kb3ciOiJmYWxzZSIsInBpZCI6ImZhNGM5OThhODJlNzFkM2FlOTVjMTQ1ZDE4ZWI4Y2M3ZDdmODlhMjFlMTA0OGVjODczYzYzOTIxZmE0Y2EyZTQiLCJ3aGl0ZUxhYmVsIjoie30iLCJrZXlNb2RlIjoidjEiLCJpc0N1c3RvbVZlcmlmaWVyIjoidHJ1ZSIsImluc3RhbmNlSWQiOiJqNmdmd3F5Mng3aSIsInZlcmlmaWVyIjoidGVzdC1hcGkud2luLmludmVzdG1lbnRzL2FwaS92MiIsInR5cGVPZkxvZ2luIjoiand0IiwicmVkaXJlY3RUb09wZW5lciI6ZmFsc2V9",
      "client_id": "BPlqcXWtIzSSagmw9-vk5JhRzQB1IkWcmkZ4Vyzdfobexd1pfTOd8mp4xXDDJA2mJhOrxpkv_C8CwIfxH-eWyTA",
      "nonce": "j6gfwqy2x7i",
      "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjIxOCwibmFtZSI6bnVsbCwiZW1haWwiOiJiYXJiZWl0b2xlYW5kcm9AZ21haWwuY29tIiwiYXVkIjoidGVzdC1hcGkud2luLmludmVzdG1lbnRzL2FwaS92MiIsImlzcyI6Imh0dHBzOi8vdGVzdC1hcGkud2luLmludmVzdG1lbnRzIiwiaWF0IjoxNjg2MTcxODQ2LCJleHAiOjE2ODYxNzU0NDZ9.HaXXbTS3i4gou-EW9s_eo3ZZAHfLHXspPnNl7fKg6BZgHB3kGOFxvTatwwAGI5SIbPy5hRKMkJb8P9iuLdgSug",
      "verifierIdField": "email%3B"
    }
  }
}

PD:
we used this tutorial https://web3auth.io/docs/auth-provider-setup/byo-jwt-providers

  • we have public and private key
  • we have the JWKS endpoint tow show the public key json
  • we have created verifier associated with JWK endpoint
  • and this is the integration code for connection:

Hi @esteban ,

Please refer this example → Integration Builder | Web3Auth

Hope this will help.

Please lmk if anything else is required.

we implement the example, but when i try to connect i get these errors

Hi @esteban

Please share the code snippet of web3auth initialisation, connectTo function and also the verifier details.

Looks like passing invalid params. so can you expand the object after Openlogin - RPC error: invalid Params and jprc response error from the console and share that too ?.

Thanks

error:

instalation,

login

@ganesh :pray: any ideas?

Can you check what is the status of your verifier in Developer Dashboard?

Hello @esteban,

We apologize for the confusion. After investigating the issue, we have determined that the verifier is not properly deployed. We are currently working on resolving this problem from our end. Kindly wait until you see the Live status of your verifier on the web3auth dashboard before attempting the process again.

Thank you.

Hello @shahbaz,

We are in a rush to get this working in production.

Can you please give us an estimated time to fix the issuee?

We can see the Verifier status “Active” in the panel, at least for the production one.

We are still strugling to integrate web3auth, @shahbaz @ganesh help please!

Hello? SOS! It’s been almost a week and no updates on a fix!

Hi @gonzalo,

I sincerely apologize for the delay in responding to you. I am pleased to inform you that all testnet verifiers are now fully deployed. To confirm, kindly check the dashboard. You may now proceed with logging in, and it should work as anticipated.

Thank you for your patience and understanding.

Hello Web3auth, we have been working hard to get the integration but we are still having the -32602 error… “Invalid params”

Here is a screen:
image

Any ideas?
@tai.nguyen @shahbaz

@gonzalo Thanks for your continued patience.

Could you please provide the below details with the latest code you have implemented :

  1. Init, Login, and custom jwt verifier details, including name & network

  2. sdk version

Hello @vjgee,

  1. Init:

Login:

Verifier Details:
We deleted old version and create a brand new last week:
Verifier Info:

Here is a screenshot:

Keys:

  1. SDK Version:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.