Description
Many calendar services require authentication to access calendar URLs. Add support for authenticated URL fetching.
Use Cases
- Google Calendar - OAuth tokens or service account credentials
- Office 365 / Outlook - Microsoft authentication
- CalDAV servers - Basic auth (username/password)
- Custom APIs - API keys, bearer tokens
Proposed Implementation
Add optional authentication parameters to the /fetch endpoint:
class FetchRequest(BaseModel):
url: str
auth_type: Optional[str] = None # "basic", "bearer", "oauth"
credentials: Optional[dict] = None
Frontend Changes
Add authentication options to the Fetch URL tab:
- Auth type dropdown (None, Basic, Bearer Token, etc.)
- Conditional credential inputs based on auth type
- Secure handling (don't log credentials)
Security Considerations
- Credentials should NOT be logged
- Consider time-limited tokens over passwords
- Rate limiting per credential (prevent abuse)
- Document security best practices
References
Related Issues
Description
Many calendar services require authentication to access calendar URLs. Add support for authenticated URL fetching.
Use Cases
Proposed Implementation
Add optional authentication parameters to the
/fetchendpoint:Frontend Changes
Add authentication options to the Fetch URL tab:
Security Considerations
References
Related Issues