[Users] [Bug 4579] New: oauth2 auth dialog needs more options for customization
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Thu Mar 31 13:59:14 UTC 2022
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4579
Bug ID: 4579
Summary: oauth2 auth dialog needs more options for
customization
Product: Claws Mail (GTK 2)
Version: 3.18.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Other
Assignee: users at lists.claws-mail.org
Reporter: henning at hennsch.de
My employer switched to Office 365 with OAUTH2 and i needed to actually patch
claws-mail to get things to work.
Claws-mail does support the "official" "MS Outlook" OAUTH2AUTH_OUTLOOK and "MS
Exchange" OAUTH2AUTH_EXCHANGE but none of the two worked for the specific setup
i am facing. Which is a specific variant of one of the two, with various of the
hardcoded values in need of modification.
Here is a list of things i need to do to OAUTH2AUTH_EXCHANGE
1. OA2_AUTH_RESOURCE, OA2_ACCESS_RESOURCE, OA2_REFRESH_RESOURCE
s/common/<tenant-id>>/
When not using the "public O365" you get your own "tenant" with a corresponding
"tenant-id" and you have to use that instead of "common", claws-mail does not
allow to specify that, it is a UUID
2. OA2_SCOPE_FOR_AUTH -= https://outlook.office.com/POP.AccessAsUser.All
In my case only IMAP and SMTP are allowed, POP is _not_. And i also did not
configure POP anywhere. Still claws-mail is trying to request POP alongside
with the other two, which in my case will fail and none of the capabilities
will be granted.
3. OA2_TENANT "common" -> ""
Very likely related to 1. just setting this to nothing worked
4. OA2_SCOPE_FOR_ACCESS -= https://outlook.office.com/POP.AccessAsUser.All
see 2.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list