Unable to scan QR code on Obsidian.md

This discussion was created from comments split from: "QR code Detection Failed" message attempting to scan QR.

Comments

  • ksbrar
    ksbrar
    Community Member
    edited May 29

    Also running into this problem on macOS. @Dave_1P using the browser extension didn't seem to work either.

  • @ksbrar

    I'm sorry that you're running into the same issue. Are you able to share the name of the website where you're running into the problem? Do you receive an error message when scanning the QR code using 1Password in the browser?

    -Dave

  • ksbrar
    ksbrar
    Community Member
    edited May 29

    @Dave_1P I ran into it today on Obsidian.md's account creation page, but it has happened consistently over the past couple of weeks of setting up 2FA for other services. (Prior to that - circa a year ago, I do remember this feature working perfectly, though.)

    The error is always "QR code detection failed" or something of the sort.

  • @ksbrar

    Thank you for sharing the name of the website. I just tested using 1Password in Chrome and I was able to scan a QR code using these steps:

    1. Navigate to https://obsidian.md/account
    2. Click Enable next to "2-factor authentication" on the Obsidian page.
    3. A QR code will display.
    4. Click on the 1Password icon in your browser's toolbar and make sure that the Login item for your Obsidian account is selected.
    5. Click the more options menu (it looks like three vertical dots) and then click Scan QR Code.

    1Password will add the one-time password to the Login item and then place the one-time password on your clipboard. Paste the one-time password into the Obsidian website and follow the prompts to complete setup.

    Let me know if these steps work for you. If they don't then can you tell me what browser you're using and can you confirm that you're using 2.24.2 of the browser extension?

    -Dave

  • ksbrar
    ksbrar
    Community Member
    edited May 29

    @Dave_1P OK, I was able to get the extension method to work after restarting my browser (Arc) a few times. Desktop app flow still doesn't work, though.

  • @ksbrar

    It's great to hear that your were able to successfully save the one-time password using the 1Password extension. I've tested things with the desktop app and encountered the same "QR Code detection failed" message. I was able to work around this by copying and pasting the string of characters they provide into the one-time password field I added to my Obsidian Login item, then clicking the save the changes.

    I've reported this to the development team and shared your experience with them. I apologize for any inconvenience.

    -David

    ref: dev/core/core#19783