Giter Club home page Giter Club logo

Comments (7)

kkapsner avatar kkapsner commented on August 17, 2024

Your steps seems OK. Two things to check:

  1. please go to the debug console of keepassxc-mail (go to the add-ons page, click on the cog wheel and hit "Debug Add-ons": grafik, then inspect keepassxc-mail: grafik) and post the content of it (you might want to redact some information there).
  2. disable the check for the protocol in keepassnatmsg (Match URL schemes... number five in the screenshot of the general options here)

from keepassxc-mail.

chryhm avatar chryhm commented on August 17, 2024

Thank you for your reply.

  1. I am posting the contents of the "Inspector" tab.
    image

  2. "Match URL schemes" was already disabled

Hope this helps. What should it happen when I check for new mails for a gmail account and your plug-in is working correctly?
In the credential entries in KeePass 2, should I simply use "accounts.google.com" in the URL field?
Please let me know if there anything more I could check.

from keepassxc-mail.

kkapsner avatar kkapsner commented on August 17, 2024

Sorry - forgot to mention that I need the output of the "console" tab.

If you already have the oauth token in KeePass the mails should just be received. If you did not have it you will be prompted with a login (not sure if it will auto fill with the password from KeePass). The oauth token should then be stored in KeePass.

You should use "oauth://accounts.google.com" in the URL field.

from keepassxc-mail.

chryhm avatar chryhm commented on August 17, 2024

Sorry about the delay, but it's a it's a very busy time and a complicated test, as every time I have to delete and then reconfigure all my credential configurations from Thunderbird.

I created all the oauth token entries in KP following your specifications, deleted all credentials saved in Thunderbird, then enabled the keepassxc-mail add-on, and checked my emails.

For the gmail accounts, I receive the following error:
image

Emails for the other non-oauth accounts are downloaded and sent correctly.

These are the contents of the "console" tab after the operation.
image

Am I doing something wrong?

from keepassxc-mail.

kkapsner avatar kkapsner commented on August 17, 2024

The connection to KeePass is working. Please remove the entry for the oAuth and run through the authorization process in Thunderbird manually. The entry should then be stored in KeePass.

from keepassxc-mail.

chryhm avatar chryhm commented on August 17, 2024

After many tries I finally identified the problem, and solved it. Thank you for your time and help!
Since I had two different KP entries for each account, one for Firefox and one for Thunderbird, it seems that keepassxc-mail only checked the first found entry, and if authentication with those credentials failed, it did not try the next, but it prompted the login window instead. Even if the "browser entries" were denied for keepassnatmsg, and the "thunderbird entries" were allowed, and these two settings were saved as plugin properties for those entries, still if the wrong entry was found first it would not skip to the second one.
As a solution, I added a number at the beginning in the title of the "Thunderbird entries", and in keepassnatmsg settings I selected to sort found entries by title, rather then username.

from keepassxc-mail.

kkapsner avatar kkapsner commented on August 17, 2024

If there are multiple entries you should see a dialog to select which one to use. In your screenshot above you can also see that keepassxc-mail only got one login... I have no idea why the second one was ignored.

But I'm glad that you have it now working.

from keepassxc-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.