Auth changes for Outlook 2024 October

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 260
Joined: 2017-11-18, 04:24

Auth changes for Outlook 2024 October

Unread post by Bilbo47 » 2024-07-08, 17:58

Wondering if this MS post is relevant to non-MS clients. So they're changing the MS-only auth method for MSOffice add-ins, which includes Outlook add-ins? Of course they never mention OAuth2 there. Compare against this learning article about doing OAuth for POP+IMAP+SMTP - does registering your app under Entra for OAuth have anything to do with their new auth method for add-ins?

Also this SO article has the screen I got when "registering my own app" for purposes of generating a personal ClientID for adding to prefs, like we did for Ggl OAuth. Not clear if that whole auth scheme for MS is staying or going away.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1577
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Unable to setup GMail account - Error 401: disabled_client

Unread post by athenian200 » 2024-07-09, 00:26

Bilbo47 wrote:
2024-07-08, 17:27
Also, testing OAuth at MS would be a decent reason to un-delete from Epyrus my otherwise-unused account at Outlook.com
Yeah, that would be a big help, actually that is one of the big things that has been holding up the next release of Epyrus. I'm trying to figure out how to get OAuth2 to work with Microsoft services. It's a particularly pressing problem for me, because I've found myself in the unfortunate situation of basically all three of the main e-mail accounts I use being tied to Microsoft services. My personal outlook.com one still works fine with Epyrus for now, but the one I use for school and the other I use for another service are all based on Microsoft. Two of those I don't even really get to pick, but my personal outlook.com one being my go-to is technically my fault, a legacy of my Windows 8 and Lumia 920 days that I never bothered to change.

I am pretty desperate to get OAuth2, NAA, or pretty much anything else working with this because until I do, Epyrus will be almost unusable for me after September. I'm going to do another point release soon, just because I think we're way overdue for a security update, but as far as any forward momentum on bugfixes or anything like that, I haven't really done anything.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2492
Joined: 2012-08-19, 20:32

Re: Auth changes for Outlook 2024 October

Unread post by back2themoon » 2024-07-09, 08:09

I'm guessing Microsoft doesn't provide the 2FA/app password workaround as Google does?

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1577
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Auth changes for Outlook 2024 October

Unread post by athenian200 » 2024-07-09, 08:18

back2themoon wrote:
2024-07-09, 08:09
I'm guessing Microsoft doesn't provide the 2FA/app password workaround as Google does?
As far as I know, the app password thing is Google only. Other providers adopting OAuth2 later on don't seem to be offering that, or at least it's not clear to me how to activate it if they do.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1578
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Auth changes for Outlook 2024 October

Unread post by Lootyhoof » 2024-07-09, 09:23

athenian200 wrote:
2024-07-09, 08:18
back2themoon wrote:
2024-07-09, 08:09
I'm guessing Microsoft doesn't provide the 2FA/app password workaround as Google does?
As far as I know, the app password thing is Google only. Other providers adopting OAuth2 later on don't seem to be offering that, or at least it's not clear to me how to activate it if they do.
The Microsoft information you require is here, FWIW.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36254
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by Moonchild » 2024-07-09, 11:29

Lootyhoof wrote:
2024-07-09, 09:23
The Microsoft information you require is here, FWIW.
Thanks!

I've created an app password after enabling 2FA (since that's a requirement). According to the info Microsoft gives, that should remain working despite their wanting to use OAuth2 everywhere instead.
"Just because you are offended doesn't mean you are right." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 260
Joined: 2017-11-18, 04:24

Re: Auth changes for Outlook 2024 October

Unread post by Bilbo47 » 2024-07-10, 16:31

athenian200 wrote:
2024-07-09, 08:18
the app password thing is Google only
Yahoo actually provides the same thing, under the name "Secure Mail Keys".

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 260
Joined: 2017-11-18, 04:24

Re: Auth changes for Outlook 2024 October

Unread post by Bilbo47 » 2024-07-10, 16:52

Moonchild wrote:
2024-07-09, 11:29
created an app password after enabling 2FA (since that's a requirement). that should remain working despite their wanting to use OAuth2
Same and agree. This means Outlook.com does *not* urgently require OAuth in Epyrus. Rather, it is a nice-to-have future feature.

gabrgv
Apollo supporter
Apollo supporter
Posts: 39
Joined: 2023-10-28, 18:59

Re: Auth changes for Outlook 2024 October

Unread post by gabrgv » 2024-08-10, 23:35

Bilbo47 wrote:
2024-07-10, 16:52
This means Outlook.com does *not* urgently require OAuth in Epyrus.
It does in my case, since to create an app password you are required to enable 2FA, for which you need a smartphone.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36254
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by Moonchild » 2024-08-10, 23:50

gabrgv wrote:
2024-08-10, 23:35
for which you need a smartphone.
I'm pretty sure they also allow you to generate offline codes for it. i.e. a bunch of one-use codes you use and strike off.
Alternatively you can emulate a smartphone and use an authenticator app on the emulation.
"Just because you are offended doesn't mean you are right." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2492
Joined: 2012-08-19, 20:32

Re: Auth changes for Outlook 2024 October

Unread post by back2themoon » 2024-08-11, 08:10

gabrgv wrote:
2024-08-10, 23:35
It does in my case, since to create an app password you are required to enable 2FA, for which you need a smartphone.
Unless they require a specific app, a smartphone is not essential for 2FA. You can use KeePassXC for example to generate TOTP passwords.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36254
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by Moonchild » 2024-08-11, 08:33

back2themoon wrote:
2024-08-11, 08:10
You can use KeePassXC for example to generate TOTP passwords.
Oh, there are native applications that can be used instead? I wasn't aware of that. I thought you were kinda stuck with using a TOTP app on mobile.
"Just because you are offended doesn't mean you are right." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2492
Joined: 2012-08-19, 20:32

Re: Auth changes for Outlook 2024 October

Unread post by back2themoon » 2024-08-11, 09:38

Yes, I use it for all kinds of 2FA codes - Google included. No doubt other desktop software can do it, too.

User avatar
RealityRipple
Astronaut
Astronaut
Posts: 740
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by RealityRipple » 2024-08-13, 04:26

<Shameless self-promotion>https://realityripple.com/Software/Applications/SecondFactor/</Shameless self-promotion>

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2492
Joined: 2012-08-19, 20:32

Re: Auth changes for Outlook 2024 October

Unread post by back2themoon » 2024-08-13, 13:12

Nice one, RealityRipple. Thanks, will check it out.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36254
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by Moonchild » 2024-08-13, 15:07

Awesome! Consider that a valuable addition to my software collection :)
"Just because you are offended doesn't mean you are right." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Keith Moon
Moongazer
Moongazer
Posts: 13
Joined: 2021-03-08, 02:59

Re: Auth changes for Outlook 2024 October

Unread post by Keith Moon » 2024-08-28, 01:07

I don't know how related this is, but I find that there is are a number of times that it takes Epyrus (but also other older mail clients) to connect to Outlook.com accounts. Initially, there will be several prompted retries, but after eight to ten attempts at logging in, the client finally connects and retrieves mail over IMAP.

User avatar
UCyborg
Fanatic
Fanatic
Posts: 218
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Auth changes for Outlook 2024 October

Unread post by UCyborg » 2024-08-29, 10:46

Moonchild wrote:
2024-08-11, 08:33
back2themoon wrote:
2024-08-11, 08:10
You can use KeePassXC for example to generate TOTP passwords.
Oh, there are native applications that can be used instead? I wasn't aware of that. I thought you were kinda stuck with using a TOTP app on mobile.
Yes, I use the original KeePass 2, a .NET app for Windows, but works on other systems via Mono (Linux...), though GUI doesn't look native there (so KeePassXC was made).

They're both password managers working with a local database, the only thing missing is a XUL extension that would not only get user name and password from user's database, but TOTP code as well. KeePassXC-Browser works very well on Chromium and Firefox. KeePassXC-Browser can work with both KeePassXC and KeePass 2 (the latter with appropriate plugin).

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5184
Joined: 2015-12-09, 15:45
Contact:

Re: Auth changes for Outlook 2024 October

Unread post by moonbat » 2024-08-29, 10:52

For Linux there's keepass-xc available from the repo for most distros.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Ryzen 7 with 64 GB RAM
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2492
Joined: 2012-08-19, 20:32

Re: Auth changes for Outlook 2024 October

Unread post by back2themoon » 2024-08-29, 12:18

Keith Moon wrote:
2024-08-28, 01:07
I don't know how related this is, but I find that there is are a number of times that it takes Epyrus (but also other older mail clients) to connect to Outlook.com accounts. Initially, there will be several prompted retries, but after eight to ten attempts at logging in, the client finally connects and retrieves mail over IMAP.
Don't know about outlook.com, but Yahoo accounts require an advanced settings change to work reliably. You could try it:

Account Settings/Server Settings/Advanced.../Maximum number of server connections to cache. The default is 5 I think. Set it to 2.

Post Reply