Giter VIP home page Giter VIP logo

Comments (5)

jpowellrussell avatar jpowellrussell commented on May 20, 2024 2

@harishkrupo Thanks so much for tracking that down - I'm barely comfortable finding relevant code on github, and I'm less familiar with sourceforge (also, not knowing a lick of C doesn't help either). This is a good starting place - it might take me a while and I might have to learn a lot to work it out, but I at least have an idea of where to start looking.

I'll post anything I figure out here.

from oauth2ms.

harishkrupo avatar harishkrupo commented on May 20, 2024

Comparing with the logs that you pasted, looks like this line in the mbsync code fails and here it looks like they are checking if xoauth2 is supported by sasl before trying that method. This probably means that the xoauth2 library is loaded correctly. I am not sure what else could be causing this. You can try the below options to debug further:

  • One option would be try the troubleshooting options given here: https://www.cyrusimap.org/sasl/sasl/sysadmin.html#troubleshooting.
  • Another definite way to figure out the reason would be to build debug versions of mbsync/cyrus-sasl/cyrus-sasl-xoauth2 yourself and try to step through the code. This might be a bit difficult and time consuming but will certainly help you solve the problem

Sorry, I don't use MacOS so I am unable to help much. Let me know if you find the solution, It will help others too. If you are stuck somewhere, please post here. I might be able to help :)

Note: --encode-xoath2 is not needed for passcmd. The token is encoded internally.

from oauth2ms.

guibor avatar guibor commented on May 20, 2024

Hi! Wondering if anyone figured anything out. I would love to use this plugin on Mac OS.

from oauth2ms.

leothelocust avatar leothelocust commented on May 20, 2024

bump, same issue here... @jpowellrussell did you ever resolve this?

from oauth2ms.

averter avatar averter commented on May 20, 2024

I think I've got a lead on this one (despite also sucking at C). Try to 1) run mbsync despite the error, and then 2) check your syslog file; since I am using linux mint for me that's less /var/log/syslog. You should see this message

mypcname sasl-xoauth2: auth failed: 2022-07-24 18:05:22: TokenStore::Read: failed to open file <<my token>>

My conclusion is that the sasl-xoauth2 plugin is waiting for a file but is receiving the token from oauth2ms in another format (a string perhaps) and thus returns an error. Any thoughts?

from oauth2ms.

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.