mutt && oauth2 config
Matthias Apitz
guru at unixarea.de
Mon Jun 3 10:38:19 UTC 2024
+Cc: The author of thge page, Peter van Ormondt
El día lunes, junio 03, 2024 a las 11:57:58 +0200, Matthias Apitz escribió:
>
> Hello,
>
> The page about how to configure mutt with oauth2 support says:
>
> https://www.vanormondt.net/~peter/blog/2021-03-16-mutt-office365-mfa.html
> ...
>
> Edit the python script and insert your GPG identity in the "ENCRYPTION_PIPE" construct.
> Add client id ('08162f7c-0fd2-4200-a84a-f25a4db0b584') and client_secret ('TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82'), as per these instructions, to the "microsoft" registrations.
>
> My gpg ID is DC4AA850 from the command below:
>
> $ gpg --keyid-format short --fingerprint guru
> pub rsa4096/DC4AA850 2024-05-12 [SC]
> Key fingerprint = 895A 3082 6A0A 0269 0D38 5529 B84C 65D9 DC4A A850
> uid [ultimate] Matthias Apitz (OpenPGP card 2) <guru at unixarea.de>
> sub rsa4096/237B4D65 2024-05-12 [A]
> sub rsa4096/981CBAF1 2024-05-12 [E]
>
> Should this be entered as 'DC4AA850' or as '0xDC4AA850' in the script
> mutt_oauth2.py
Additional question:
$ ./mutt_oauth2.py TOKEN_FILENAME --verbose --authorize
Available app and endpoint registrations: google microsoft
OAuth2 registration: xxxxxxxxxxxxxxxxxx
Preferred OAuth2 flow ("authcode" or "localhostauthcode" or "devicecode"):
...
Following the above page, the 2nd question should be answered with
localhostauthcode. What is the answer for the 1st question?
Is there a complete session example for the above script?
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
I am not at war with Russia. Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.
More information about the Mutt-users
mailing list