Mutt OAuth2 token management with Keyring support
				
			
		| mutt_oauth2_keyring | ||
| README.md | ||
| setup.py | ||
mutt-oauth2-keyring
Mutt OAuth2 token management with Keyring support.
Installation
uv tool install git+https://git.alt.tf/bcollet/mutt-oauth2-keyring
Configuration
The default configuration file is located at
~/.config/mutt-oauth2-keyring/config.yaml and can be overriden with the
MUTT_OAUTH2_KEYRING_CONFIGURATION environment variable.
---
registrations:
- name: example.com
  authorization_endpoint: https://login.microsoftonline.com/example.onmicrosoft.com/oauth2/v2.0/authorize
  device_authorization_endpoint: https://login.microsoftonline.com/example.onmicrosoft.com/oauth2/v2.0/devicecode
  token_endpoint: https://login.microsoftonline.com/example.onmicrosoft.com/oauth2/v2.0/token
  auth_flow: authcode
  redirect_uri: https://login.microsoftonline.com/example.onmicrosoft.com/oauth2/nativeclient
  tenant: example.onmicrosoft.com
  email: user@example.com
  scopes:
  - offline_access
  - https://outlook.office.com/IMAP.AccessAsUser.All
  - https://outlook.office.com/SMTP.Send
  # Thunderbird
  client_id: 08162f7c-0fd2-4200-a84a-f25a4db0b584
  client_secret: TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82