News for hackers. Stuff that matters.
Re:An app can be a home-cooked meal by behnamoh on Friday January 05, 2024 @11:58AM (#38881335)
What about SSO? Sadly, none of the terminal-based email clients I tried supported this, but since you said you use this at work, maybe it supports SSO login to your work email?
Re:An app can be a home-cooked meal by rustyminnow on Friday January 05, 2024 @12:22PM (#38881719)
It's a bit of a trek to get there, but here's how to work around SSO...

1. Go to the Microsoft/Google developer console with your work account and create an "internal app" for personal use 2. Generate a set of oauth2 creds under the app 3. Use a program like mbsync or offlineimap to sync your mail down to a maildir. Iirc mbsync was more reliable but required a shim script to convert oauth2 creds to an api token. 4. Point your email client to the mail-dir.

I had this set up when I used gmail at work, but AIUI outlook should work roughly the same.

There's a ton of blog posts out there of people setting this up, unfortunately too many variations to have "one true" guide, so sorta have to pull from several places.

Re:An app can be a home-cooked meal by grinich on Friday January 05, 2024 @12:16PM (#38881624)
How would SSO work for a terminal? What would it do?
Re:An app can be a home-cooked meal by rustyminnow on Friday January 05, 2024 @12:27PM (#38881777)
In this case it's easier to bypass SSO with a set of oauth2 creds, but the aws and azure clis support SSO login by opening a browser to authenticate and generate a short-lived api token that gets passed back to the cli. So it's definitely possible for terminal apps to support SSO.
Re:An app can be a home-cooked meal by kmarc on Saturday January 06, 2024 @07:23AM (#38890860)
So far I only use IMAP