Contents
How can I use OAuth with my application?
To use OAuth with your application you need to: Register your application with Azure Active Directory. Configure your application in Azure Active Directory. Get an access token from a token server.
How to authenticate an IMAP connection using OAuth?
In case of shared mailbox access using OAuth, application needs to obtain the access token on behalf of a user but replace the userName field in the SASL XOAUTH2 encoded string with the email address of the shared mailbox. To authenticate a IMAP server connection, the client will have to respond with an AUTHENTICATE command in the following format:
How to use SASL xoauth2 with OAuth?
OAuth integration with requires your application to use SASL XOAUTH2 format for encoding and transmitting the access token. SASL XOAUTH2 encodes the username, access token together in the following format: ^A represents a Control + A ( %x01 ).
How to authenticate a SMTP connection using AUTH?
To authenticate a SMTP server connection, the client will have to respond with an AUTH command in the following format: Sample client-server message exchange that results in an authentication success:
How to add an OAuth application to OpenID Connect?
For OpenID Connect and OAuth apps, the Add button is disabled by default. Here the tenant admin should select the sign-up button and provide the consent to the application. The application is then added to the customer tenant, where you can do the configurations.
How to register an app in Active Directory?
On the Active Directory page, select App registrations and then select New registration. When the Register an application page appears, enter your application’s registration information: Name – Enter a meaningful application name that will be displayed to users of the app.
Do you need Azure Active Directory to use OAuth?
To use OAuth, an application must be registered with Azure Active Directory. Follow the instructions listed in Register an application with the Microsoft identity platform to create a new application. Follow the instructions listed in Configure a client application to access web APIs