Add OAuth2 authentication parameters for SMTP connections#2202
Add OAuth2 authentication parameters for SMTP connections#2202KalinduGandara wants to merge 1 commit intowso2:mainfrom
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe pull request updates documentation for the Email Connector to reflect OAuth2 authentication support for SMTPS connections. The first change extends the OAuth2 scope description in the 1.x configuration documentation to include SMTPS alongside existing IMAP and IMAPS protocols. The second change introduces a new OAuth2 authentication subsection in the main SMTPS configuration documentation, detailing configurable fields for OAuth2 setup including grant type, client credentials, refresh token, token URL, and scope—all marked as optional parameters. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@en/docs/reference/connectors/email-connector/email-connector-config.md`:
- Line 209: Update the table header markup and casing: locate the table header
element shown as "<th colspan=\"3\">Oauth2 Authentication</td>" and change the
closing tag to "</th>" and the text "Oauth2" to "OAuth2" so it reads "<th
colspan=\"3\">OAuth2 Authentication</th>", ensuring valid HTML and consistent
casing.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d87ce227-8d40-446e-8b54-22f17adff3f8
📒 Files selected for processing (2)
en/docs/reference/connectors/email-connector/1.x/email-connector-1.x-config.mden/docs/reference/connectors/email-connector/email-connector-config.md
c4c1b68 to
315a4cf
Compare
This pull request updates the Email Connector documentation to improve and clarify OAuth2 authentication support. The main changes include expanding protocol support for OAuth2 and adding detailed configuration parameters.
OAuth2 Authentication Enhancements:
Fixes: wso2/product-integrator-mi#4772