Exchange Online / EDIBOTS

167 views
Skip to first unread message

Robert Tran

unread,
Feb 10, 2020, 2:37:00 AM2/10/20
to Bots Open Source EDI Translator
Hello dear community! 

We are about to migrate our pop3 mailboxes to exchange online. From these mailboxes we received the messages from the suppliers. 
Like I saw basic authentication will be deprecated by microsoft:


Is bots able to use oauth 2.0 via pop? 

Best regards

Robert

Eppye Bots

unread,
Feb 10, 2020, 4:21:51 AM2/10/20
to 'Chuck Turco' via Bots Open Source EDI Translator
no
kind regards, Henk-Jan Ebbers


--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/7d990be0-8c28-453e-a92e-995675537d44%40googlegroups.com.

BikeMike

unread,
Feb 14, 2020, 4:13:21 AM2/14/20
to Bots Open Source EDI Translator
Thanks for the link... this might affect me too, although I think we have on-premise servers. I'm currently using IMAP4S with basic auth.

To support OAUTH would require subclassing of communication.py and writing the OAUTH part. There's an oauth2 python module you can import.
It may also be easier to use the REST API.

Kind Regards,
Mike

BikeMike

unread,
Feb 14, 2020, 4:57:54 AM2/14/20
to Bots Open Source EDI Translator

BikeMike

unread,
Jul 23, 2020, 5:33:16 AM7/23/20
to Bots Open Source EDI Translator
It has been confirmed by my organization that basic auth will be blocked from early next year for our IMAP mail accounts. So I need to begin work on a modern authentication solution for Bots. Does anyone else have something working or in progress?

The library I posted in previous comment unfortunately is Python 3.4. Since Bots is (currently) Python 2 only, I will need a Python 2 solution.

Kind regards,
Mike

BikeMike

unread,
Jul 24, 2020, 3:57:20 AM7/24/20
to Bots Open Source EDI Translator
been reading up on this.




Plan is to implement a new communicationscript probably subclassing https. Some sample code to start with with getting the token, then a Graph API call https://github.com/Azure-Samples/ms-identity-python-daemon/blob/master/1-Call-MsGraph-WithSecret/confidential_client_secret_sample.py

BikeMike

unread,
Nov 30, 2020, 12:37:12 AM11/30/20
to Bots Open Source EDI Translator
Hi Bob,

I have developed a working communicationscript solution to this, let me know if you need it. Only dependency is "msal".

Kind regards,
Mike

Jannik Waschkau

unread,
Jul 11, 2022, 6:35:28 AM7/11/22
to Bots Open Source EDI Translator
Hey Mike,

i am interested in the communicationscript. Any chance to upload to github for easy access?

Beste regards,
Jannik

Reply all
Reply to author
Forward
0 new messages