Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TokenStore::Read: failed to open file #38

Closed
averter opened this issue Jul 28, 2022 · 4 comments
Closed

TokenStore::Read: failed to open file #38

averter opened this issue Jul 28, 2022 · 4 comments

Comments

@averter
Copy link

averter commented Jul 28, 2022

I am trying to use this sasl-xoauth2 plugin together with oauth2ms as described here. In doing so it is assumed that installing sasl-xoauth2 or cyrus-sasl-xoauth2 is the same.
As reported in this issue by checking /var/log/syslog the sasl-xoauth2 plugin is giving this error:

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

which suggests that sasl-xoauth2 is waiting for a file from oauth2ms? Any help in solving this issue is very welcome.

@tarickb
Copy link
Owner

tarickb commented Jul 28, 2022

sasl-xoauth2 and cyrus-sasl-xoauth2 are not the same, no. Please make sure you've followed the instructions in the sasl-xoauth2 README.

@averter
Copy link
Author

averter commented Aug 2, 2022

Thanks @tarickb. After a lot of trial and error I was able to get cyrus-sasl-xoauth2 up and running — finally!

@averter averter closed this as completed Aug 2, 2022
@kunliugithub
Copy link

Thanks @tarickb. After a lot of trial and error I was able to get cyrus-sasl-xoauth2 up and running — finally!

@averter I am facing the exact same issue you are describing here. Could you please let me know how you resolved it? Thanks.

@tarickb
Copy link
Owner

tarickb commented Oct 25, 2022

Please look through the debugging section of the README and attach logs (with credentials redacted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants