Implementation of Office365 login into Outsystems Mobile App

Implementation of Office365 login into Outsystems Mobile App

  

Hi,

We are looking for assistance for the best way to implement Office 365 login into a OutSystems mobile App.

We have looked into the Office 365 connector Web App and had success using the demo, but we are having issues with trying to figure out the best approach for the mobile app.

We would appreciate any assistance you could provide us with.

Best Regards

Lachlan

Hi Lachlan,

For mobile integrations you have the following options:

  • Use a cordova plugin that allows Office 365 integration
  • Use an Office 365 javascript sdk if they provide one
  • Use an Office 365 REST endpoint for authentication. In case you follow this approach and it the OAuth2 protocol you can do it client side with the InAppBrowser plugin to open a new window inside the app

I can provide further assistance, if needed, after you know which approach is available for Office 365

Regards

Hi Lachlan,

Microsoft provides Cordova plugins for a few of their services including Outlook and Files and Discovery. Both of them use Azure Active Directory Library for authentication.

Here are the links:

- https://github.com/OfficeDev/cordova-plugin-ms-outlook

- https://github.com/OfficeDev/cordova-plugin-ms-files

- https://github.com/AzureAD/azure-activedirectory-library-for-cordova

There's also some documentation on how to use ADAL in Cordova here: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-devquickstarts-cordova

I hope this helps.

Cheers

Hello, just popping in to say thanks for the help you provided.

Best Regards

Lachlan