mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Adds script to generate work email tokens for work email account.
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -29,3 +29,4 @@
|
|||||||
using ~/.config/yubico and it didn't work)
|
using ~/.config/yubico and it didn't work)
|
||||||
- Move keyboard (kanata) systemd service to be started as a '--user' service, as
|
- Move keyboard (kanata) systemd service to be started as a '--user' service, as
|
||||||
it seems to not work when used on a desktop (mac mini) vs. laptop.
|
it seems to not work when used on a desktop (mac mini) vs. laptop.
|
||||||
|
- Add neomutt configuration files into the repo (or probably a private repo)
|
||||||
|
|||||||
13
work-email-neomutt
Executable file
13
work-email-neomutt
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Generate login tokens for using work email with neomutt, this only
|
||||||
|
# needs to be ran once.
|
||||||
|
|
||||||
|
/usr/share/neomutt/oauth2/mutt_oauth2.py \
|
||||||
|
--provider microsoft \
|
||||||
|
--authorize \
|
||||||
|
--verbose \
|
||||||
|
--authflow localhostauthcode \
|
||||||
|
--client-id='08162f7c-0fd2-4200-a84a-f25a4db0b584' \
|
||||||
|
--client-secret='TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82' \
|
||||||
|
"$HOME/.config/mutt/mhoush@houshhomeenergy.com.tokens"
|
||||||
Reference in New Issue
Block a user