User authentication and authorization can be handled by Stalwart's built-in directory or delegated to an external identity provider.
OAuth 2.0 (device flow and authorization code) and OpenID Connect are supported as first-class authentication mechanisms, with per-client scopes and a list of connected applications that users can review and revoke.