Skip to content

add support for oauth2 with preregistered token#955

Open
rampaq wants to merge 4 commits into
LukeSmithxyz:masterfrom
rampaq:oauth2
Open

add support for oauth2 with preregistered token#955
rampaq wants to merge 4 commits into
LukeSmithxyz:masterfrom
rampaq:oauth2

Conversation

@rampaq

@rampaq rampaq commented Jul 26, 2023

Copy link
Copy Markdown
Contributor

Issue #954 for OAUTH2 support.

@hchasens

Copy link
Copy Markdown

Making cyrus-sasl-xoauth2-git a dependency might be an issue. If you're not on Arch than you don't have access to the AUR. Without it, installing cyrus-sasl-xoauth2-git requires building it from source. It's documentation doesn't list which dependencies it needs which makes the process even more difficult. I think OAUTH2 is important. Maybe if it's packaged outside of the AUR?

@rampaq

rampaq commented Jul 30, 2023

Copy link
Copy Markdown
Contributor Author

I think there might be other alternatives providing sasl-xoauth2 as suggested by Arch Wiki but I haven't found any: https://wiki.archlinux.org/title/isync#Using_XOAUTH2

@rampaq

rampaq commented Jul 30, 2023

Copy link
Copy Markdown
Contributor Author

Also, I haven't tested the code very throughougly as I have a quite custom mutt setup conflicting with auto-management by mutt-wizard.

@hchasens

hchasens commented Oct 8, 2023

Copy link
Copy Markdown

I definitely think OAuth is worth pursuing. I tested your fork on Fedora. Due to the difficulties setting up the dependencies, I found it much easier to just manually configure OAuth without the wizard. If we can figure out the dependency issue though, this'll add a good layer of security and usability.

@rampaq

rampaq commented Oct 9, 2023

Copy link
Copy Markdown
Contributor Author

Thanks for testing! What do you mean by

I found it much easier to just manually configure OAuth without the wizard.

Do you mean that you needed debugging messages during the setup process from to pinpoint problems with the dependencies?

@rampaq

rampaq commented Oct 9, 2023

Copy link
Copy Markdown
Contributor Author

I have missed a mbsync config for OAUTH support. That is fixed now and conflicts with master branch resolved.

@rampaq rampaq mentioned this pull request Oct 8, 2025
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

Successfully merging this pull request may close these issues.

2 participants