Manual Microsoft Authentication #629
Unanswered
DaniEzzeddine
asked this question in
Q&A
Replies: 1 comment 2 replies
-
If you are using the default auth method then you will need to give consent to each account and store the different tokens in different places. Then use one token or another to send email as each account. if you use the credentials auth method, the you are logged as the “app” and therefore you will have to set the appropriate permissions for the different accounts in order to send email from each one. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm a bit stuck and trying to figure out the right way to use the lib.
I need to handle token creation for different o365 accounts from 1 browser in order to send emails from different email addresses. So far when I set
account.new_message(resource=args.sender_email)
- I would get an error message that credentials invalid since the authentication where done from a different email address. So I have to manually log out of Microsoft account and log in with the desired email. Does anybody know how to log in to Microsoft from o365 lib authentication?Beta Was this translation helpful? Give feedback.
All reactions