This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 00bbbeac006851df439ebc0438466cab709f699b Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Wed Feb 21 13:07:37 2024 +0100 CAMEL-20410: documentation fixes for camel-mail-microsoft-oauth - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links - Converted to use tabs --- .../src/main/docs/mail-microsoft-oauth.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-mail-microsoft-oauth/src/main/docs/mail-microsoft-oauth.adoc b/components/camel-mail-microsoft-oauth/src/main/docs/mail-microsoft-oauth.adoc index d34fafaae0e..93491d4f42c 100644 --- a/components/camel-mail-microsoft-oauth/src/main/docs/mail-microsoft-oauth.adoc +++ b/components/camel-mail-microsoft-oauth/src/main/docs/mail-microsoft-oauth.adoc @@ -28,7 +28,7 @@ for this component: </dependency> ------------------------------------------------------------ -Importing `camel-mail-microsoft-oauth` it will automatically import camel-mail component. +Importing `camel-mail-microsoft-oauth` it will automatically import the camel-mail component. == Microsoft Exchange Online OAuth2 Mail Authenticator IMAP sample @@ -36,7 +36,7 @@ To use OAuth, an application must be registered with Azure Active Directory. Follow the instructions listed in https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app[Register an application with the Microsoft identity platform] guide to register a new application. + Enable application to access Exchange mailboxes via client credentials flow. Instructions https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth[here] + Once everything is set up, declare and register in the registry, an instance of `+org.apache.camel.component.mail.MicrosoftExchangeOnlineOAuth2MailAuthenticator+`. + -For Example in a Spring Boot application: +For example, in a Spring Boot application: [source,java] ---------------------------------------------------------------------------------
