email-sorter/credentials/outlook/account1.json.example
FSSCoding eb35a4269c Add credentials management system for 3 accounts per provider type
Credentials Directory Structure:
- credentials/gmail/ - Gmail OAuth credentials (3 accounts)
- credentials/outlook/ - Outlook/Microsoft365 OAuth credentials (3 accounts)
- credentials/imap/ - IMAP username/password credentials (3 accounts)

Files Added:
- credentials/README.md - Comprehensive setup guide
- credentials/*/account1.json.example - Templates for each provider

Security:
- Updated .gitignore to exclude actual credential files
- Only .example files are tracked in git
- README includes security best practices

Setup Instructions:
- Gmail: OAuth 2.0 via Google Cloud Console
- Outlook: OAuth 2.0 via Azure Portal with Microsoft Graph API
- IMAP: Username/password (supports Gmail app passwords)

Dependencies Verified:
- Gmail: google-api-python-client, google-auth-oauthlib (installed)
- Outlook: msal, requests (installed)
- IMAP: Python standard library (no additional deps)

Usage:
- --credentials credentials/gmail/account1.json
- --credentials credentials/outlook/account2.json
- --credentials credentials/imap/account3.json

All providers now support 3 accounts each with organized credential storage.
2025-10-25 16:41:12 +11:00

7 lines
164 B
Plaintext

{
"client_id": "YOUR_AZURE_APP_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET_OPTIONAL",
"tenant_id": "common",
"redirect_uri": "http://localhost:8080"
}