Re: Support for Oauth2 and Office365
Adam Stein via evolution-list <[email protected]> Mon, 21 Nov 2022 13:53:25 -0500
| Newsgroups | gmane.comp.gnome.evolution.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0330616241286208855== Content-Type: multipart/alternative; boundary="=-1OM3Y5INeJU+SO+OoIdD" --=-1OM3Y5INeJU+SO+OoIdD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2022-11-21 at 18:30 +0100, Milan Crha via evolution-list wrote: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Hi, > I see, that's a specific use case. You did not mention Davmail, but > it > provides its own IMAP interface, it uses EWS under the hood. >=20 > You can open Edit->Accounts->EWS account name->Edit and turn off > parts > you do not want to use, the same as you do that in the GNOME Online > Accounts. >=20 > With respect of the OAuth2 for IMAP, there is a builtin OAuth2 > service > proving this for *.outlook.com servers. You can change the client id > and client secret for it in DConf /org/gnome/evolution-data-server , > keys oauth2-outlook-client-id and oauth2-outlook-client-secret, but > there exists one predefined. To make it use for your IMAP server (I'm > wondering which one it is, maybe it can be added to the list of > accepted servers, thus it would work out of the box, in which case > I'd > need a bug report against evolution-data-server [1]), you add a hint > into an oauth2-services-hint key, I guess something like: >=20 > =C2=A0=C2=A0 Outlook:mail.server.com >=20 > may do it (the 'Outlook' here is the name of the OAuth2 service known > to the evolution-data-server). >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Bye, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Milan >=20 > [1] https://gitlab.gnome.org/GNOME/evolution-data-server/ >=20 > _______________________________________________ Thanks for the info. I forgot to mention that I did try davmail (had used it many years ago) and that failed as well. I'll look into what you said when I get a chance. --=20 Adam ([email protected]) --=-1OM3Y5INeJU+SO+OoIdD Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html><head> </head><body><div>On Mon, 2022-11-21 at 18:30 +0100, Milan Crha via evoluti= on-list wrote:</div><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; b= order-left:2px #729fcf solid;padding-left:1ex"><div><br></div><div> &n= bsp; Hi,<br></div><div>I see, that's a s= pecific use case. You did not mention Davmail, but it<br></div><div>provide= s its own IMAP interface, it uses EWS under the hood.<br></div><div><br></d= iv><div>You can open Edit->Accounts->EWS account name->Edit and tu= rn off parts<br></div><div>you do not want to use, the same as you do that = in the GNOME Online<br></div><div>Accounts.<br></div><div><br></div><div>Wi= th respect of the OAuth2 for IMAP, there is a builtin OAuth2 service<br></d= iv><div>proving this for *.outlook.com servers. You can change the client i= d<br></div><div>and client secret for it in DConf /org/gnome/evolution-data= -server ,<br></div><div>keys oauth2-outlook-client-id and oauth2-outlook-cl= ient-secret, but<br></div><div>there exists one predefined. To make it use = for your IMAP server (I'm<br></div><div>wondering which one it is, maybe it= can be added to the list of<br></div><div>accepted servers, thus it would = work out of the box, in which case I'd<br></div><div>need a bug report agai= nst evolution-data-server [1]), you add a hint<br></div><div>into an oauth2= -services-hint key, I guess something like:<br></div><div><br></div><div>&n= bsp; Outlook:mail.server.com<br></div><div><br></div><div>may do it (= the 'Outlook' here is the name of the OAuth2 service known<br></div><div>to= the evolution-data-server).<br></div><div><br></div><div>  = ; Bye,<br></div><div> &= nbsp; Milan<br></div><div><br></div><div>[1] <a href=3D"ht= tps://gitlab.gnome.org/GNOME/evolution-data-server/">https://gitlab.gnome.o= rg/GNOME/evolution-data-server/</a><br></div><div><br></div><div>__________= _____________________________________</div></blockquote><div><br></div><div= >Thanks for the info.</div><div><br></div><div>I forgot to mention that I d= id try davmail (had used it many years ago) and that failed as well. I'll l= ook into what you said when I get a chance.</div><blockquote type=3D"cite" = style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"= ></blockquote><div><br></div><div><span><pre></pre></span></div><div><br></= div><div><span><pre>-- <br></pre><pre>Adam ([email protected]) </pre></span></div></body></html> --=-1OM3Y5INeJU+SO+OoIdD-- --===============0330616241286208855== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ evolution-list mailing list [email protected] To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list --===============0330616241286208855==--