Re: Logging in to O365 account

2022-12-28 Thread Bence Ferdinandy

On Mon Dec 26, 2022 at 16:52, H wrote:
> On December 26, 2022 2:39:56 AM EST, Bence Ferdinandy  
> wrote:
> >2022. dec. 26. 3:08:32 H :
> >
> >> The TENANT_ID is available on the portal.azure.com page when logged
> >in, 
> >> registering an app to get the CLIENT_ID is locked down. I don't see
> >any 
> >> upside for the organization to provide a CLIENT_ID, only a potential 
> >> security risk, so I do not see that happening.
> >
> >For the client id, I suggest you use this: 
> >https://github.com/ferdinandyb/dotfiles/blob/master/.config/emailconfiguration/mutt_oauth2.py#L77
> >
> >you will find that it's a rather well known application and thus will 
> >likely be already authorized.
> >
> >Besr,
> >Bence
>
> Thank you. Does this require someone has already gotten mutt registered as an 
> application on my organization's O365 site?

No, it's actually Thunderbird that needs to be authorized, but it usually is.

Best,
Bence


--
+36305425054
bence.ferdinandy.com


signature.asc
Description: PGP signature
___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-26 Thread H
On December 26, 2022 2:39:56 AM EST, Bence Ferdinandy  
wrote:
>2022. dec. 26. 3:08:32 H :
>
>> The TENANT_ID is available on the portal.azure.com page when logged
>in, 
>> registering an app to get the CLIENT_ID is locked down. I don't see
>any 
>> upside for the organization to provide a CLIENT_ID, only a potential 
>> security risk, so I do not see that happening.
>
>For the client id, I suggest you use this: 
>https://github.com/ferdinandyb/dotfiles/blob/master/.config/emailconfiguration/mutt_oauth2.py#L77
>
>you will find that it's a rather well known application and thus will 
>likely be already authorized.
>
>Besr,
>Bence

Thank you. Does this require someone has already gotten mutt registered as an 
application on my organization's O365 site?


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-25 Thread Bence Ferdinandy

2022. dec. 26. 3:08:32 H :

The TENANT_ID is available on the portal.azure.com page when logged in, 
registering an app to get the CLIENT_ID is locked down. I don't see any 
upside for the organization to provide a CLIENT_ID, only a potential 
security risk, so I do not see that happening.


For the client id, I suggest you use this: 
https://github.com/ferdinandyb/dotfiles/blob/master/.config/emailconfiguration/mutt_oauth2.py#L77


you will find that it's a rather well known application and thus will 
likely be already authorized.


Besr,
Bence


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-25 Thread H
On December 25, 2022 8:44:27 PM EST, Marton Balazs  wrote:
>I'm not sure, I was happy to get it to work with the ID's I got from my
>organisation. If they provided a TENANT_ID then maybe that's all you
>need, you could try leaving the other one empty, or asking your
>organisation how their IMAP is set up in O365.
>
>Best wishes,
>Marton
>
>
>On Sun, Dec 25, 2022 at 07:51:16PM -0500, H wrote:
>> On 12/24/2022 05:46 AM, Marton Balazs wrote:
>> > At the risk of spamming the list, I hope it was mine so repeating
>the link:
>> >
>https://people.maths.bris.ac.uk/~mb13434/linux_m_uob/o365_imap_smtp.html
>> >
>> > On Sat, Dec 24, 2022 at 10:58:06AM +0100, Oswald Buddenhagen wrote:
>> >> On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote:
>> >>> Could anyone point me to a good tutorial or example? I understand
>I need
>> >>> to find some oauth2 library to use but am unsure which one?
>> >>>
>> >> there was a relevant post here just recently. see the archive.
>> >>
>> >>
>> >> ___
>> >> isync-devel mailing list
>> >> isync-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/isync-devel
>> 
>> Thank you, I tried to follow the instructions but got stuck at the
>required TENANT_ID and CLIENT_ID. Whereas I can find the TENANT_ID on
>the website, the CLIENT_ID is not available and I doubt that the
>organization will allow me to register an app and thus get a CLIENT_ID.
>All I know I can use is Outlook and some other Office apps.
>> 
>> Am I correct in the above, ie that this cannot be done without
>acquiring a CLIENT_ID?
>> 
>> 
>> 
>> 
>> ___
>> isync-devel mailing list
>> isync-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/isync-devel

The TENANT_ID is available on the portal.azure.com page when logged in, 
registering an app to get the CLIENT_ID is locked down. I don't see any upside 
for the organization to provide a CLIENT_ID, only a potential security risk, so 
I do not see that happening.


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-25 Thread Marton Balazs
I'm not sure, I was happy to get it to work with the ID's I got from my 
organisation. If they provided a TENANT_ID then maybe that's all you need, you 
could try leaving the other one empty, or asking your organisation how their 
IMAP is set up in O365.

Best wishes,
Marton


On Sun, Dec 25, 2022 at 07:51:16PM -0500, H wrote:
> On 12/24/2022 05:46 AM, Marton Balazs wrote:
> > At the risk of spamming the list, I hope it was mine so repeating the link:
> > https://people.maths.bris.ac.uk/~mb13434/linux_m_uob/o365_imap_smtp.html
> >
> > On Sat, Dec 24, 2022 at 10:58:06AM +0100, Oswald Buddenhagen wrote:
> >> On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote:
> >>> Could anyone point me to a good tutorial or example? I understand I need
> >>> to find some oauth2 library to use but am unsure which one?
> >>>
> >> there was a relevant post here just recently. see the archive.
> >>
> >>
> >> ___
> >> isync-devel mailing list
> >> isync-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/isync-devel
> 
> Thank you, I tried to follow the instructions but got stuck at the required 
> TENANT_ID and CLIENT_ID. Whereas I can find the TENANT_ID on the website, the 
> CLIENT_ID is not available and I doubt that the organization will allow me to 
> register an app and thus get a CLIENT_ID. All I know I can use is Outlook and 
> some other Office apps.
> 
> Am I correct in the above, ie that this cannot be done without acquiring a 
> CLIENT_ID?
> 
> 
> 
> 
> ___
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-25 Thread H
On 12/24/2022 05:46 AM, Marton Balazs wrote:
> At the risk of spamming the list, I hope it was mine so repeating the link:
> https://people.maths.bris.ac.uk/~mb13434/linux_m_uob/o365_imap_smtp.html
>
> On Sat, Dec 24, 2022 at 10:58:06AM +0100, Oswald Buddenhagen wrote:
>> On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote:
>>> Could anyone point me to a good tutorial or example? I understand I need
>>> to find some oauth2 library to use but am unsure which one?
>>>
>> there was a relevant post here just recently. see the archive.
>>
>>
>> ___
>> isync-devel mailing list
>> isync-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/isync-devel

Thank you, I tried to follow the instructions but got stuck at the required 
TENANT_ID and CLIENT_ID. Whereas I can find the TENANT_ID on the website, the 
CLIENT_ID is not available and I doubt that the organization will allow me to 
register an app and thus get a CLIENT_ID. All I know I can use is Outlook and 
some other Office apps.

Am I correct in the above, ie that this cannot be done without acquiring a 
CLIENT_ID?




___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-24 Thread Marton Balazs
At the risk of spamming the list, I hope it was mine so repeating the link:
https://people.maths.bris.ac.uk/~mb13434/linux_m_uob/o365_imap_smtp.html

On Sat, Dec 24, 2022 at 10:58:06AM +0100, Oswald Buddenhagen wrote:
> On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote:
> > Could anyone point me to a good tutorial or example? I understand I need
> > to find some oauth2 library to use but am unsure which one?
> > 
> there was a relevant post here just recently. see the archive.
> 
> 
> ___
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Logging in to O365 account

2022-12-24 Thread Oswald Buddenhagen

On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote:
Could anyone point me to a good tutorial or example? I understand I 
need to find some oauth2 library to use but am unsure which one?



there was a relevant post here just recently. see the archive.


___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel