OpenCerts / opencerts-website

Apache License 2.0
21 stars 69 forks source link

Unable to connect to admin portal #773

Open ysong-suss opened 1 month ago

ysong-suss commented 1 month ago

Hi GovTech team,

Upon accessing https://new.admin.opencerts.io/ or https://firefox.admin.opencerts.io/ , system requesting to login to Metamask. We're using Ethereum device, and not Metamask.

May I check how are we going to issue the certificate? metamask

HJunyuan commented 1 month ago

Hi @ysong-suss, you may connect your hardware wallet to Metamask:

  1. Unlock your MetaMask.
  2. Select the icon on the top-right corner.
  3. Select Connect Hardware Wallet.
  4. Choose Ledger or Trezor.
  5. Click connect.
  6. Select an account you want to interact with (note: MetaMask can only have one account connected and accessible at any given time)

More detailed instructions with screenshots can be found here:

If you are using a Ledger hardware wallet: https://support.ledger.com/hc/en-us/articles/4404366864657-Connect-your-Ledger-to-MetaMask?docs=true

ysong-suss commented 1 month ago

Are we not able to bypass MetaMask extension? admin.opencerts.io website used to have an option to connect to Ledger hardware wallet or connect to Metamask. Why is the option of Ledger hardwallet removed now?

Linking Ledger hardware wallet to MetaMask is an extra step. User used to plug into device --> admin.opencerts.io --> issue certificate. Now with MetaMask extension, they need to plug into device --> login to MetaMask and do the neccessary --> admin.opencerts.io --> issue certificate.

HJunyuan commented 1 month ago

Are we not able to bypass MetaMask extension?

Bypassing the Metamask extension requires a manual integration to support the many hardware wallet brands that are in the market.

admin.opencerts.io website used to have an option to connect to Ledger hardware wallet or connect to Metamask. Why is the option of Ledger hardwallet removed now?

The legacy admin portal had a manual integration to support Ledger wallets which have been increasingly difficult to maintain, upgrade or fix security vulnerabilities. It would be in the best interest of all parties to leverage on the Metamask extension for the best support.

Linking Ledger hardware wallet to MetaMask is an extra step.

From my understanding, the end-user would just need to connect an account from the Ledger to the Metamask extension for the first time. For subsequent usage, the same account can be selected from the Metamask dropdown.

ysong-suss commented 1 month ago

Noted and thanks for your prompt reply.

I will keep this ticket open first in case we have queries while setting up the MetaMask.

ysong-suss commented 1 month ago

My user is unable to connect the ledger device with the MetaMask. The ledger device screen is showing "The application is ready to use"

image

Before this, the error is "Unknown error". Subsequently, it is as per the screenshot above. My user had also attempted to unplug and plug in the device again and try to connection again. Same error encountered.

HJunyuan commented 1 month ago

We have temporarily enabled the legacy admin portal (https://admin.opencerts.io/) for the time being.

In the meantime, let's try to debug the issue that your user is currently experiencing so we can transition them successfully to the new admin portal. Please let us know the model of the Ledger and browser version they are using.

ysong-suss commented 1 month ago

thank you very much! my user will temporarily use the legacy admin portal to issue the certificate first.

Ledger model: Nano S

Browser version Chrome: 122.0.6261.112 Edge: 124.0.2478.80 Firefox: 123.0.1

HJunyuan commented 1 month ago

Hi @ysong-suss, we were able to connect a Ledger Nano X successfully with the new admin portal via the Metamask extension on a Chrome browser running Windows.

Please reach out to us on this webform and include your email address so we can contact you separately.