plugins/auth-oauth2/README.md
An OAuth 2.0 authentication plugin that supports multiple grant types and flows, enabling secure API authentication with OAuth 2.0 providers.
This plugin implements OAuth 2.0 authentication for requests, supporting the most common OAuth 2.0 grant types used in modern API integrations. It handles token management, automatic refresh, and PKCE (Proof Key for Code Exchange) for enhanced security.
The most secure and commonly used OAuth 2.0 flow for web applications.
Ideal for server-to-server authentication where no user interaction is required.
Legacy flow for single-page applications (deprecated but still supported):
Direct username/password authentication.
This plugin is compatible with OAuth 2.0 providers including: