Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 933 Bytes

ios_setup.md

File metadata and controls

15 lines (13 loc) · 933 Bytes

iOS Setup

Follow the steps as described here. Steps include:

  1. Register a redirect URI for your application for iOS in the Azure Portal. It should be in the following format: msauth.[BUNDLE_ID]://auth
    1. Navigate to your tenant in the Azure Portal.
    2. Under "Platform configurations", click "Add a platform".
    3. Click "iOS / macOS".
    4. Enter your app's Bundle ID.
    5. Click "Configure".
    6. Click "Done"
  2. Add a keychain group to your project Capabilities called com.microsoft.adalcache
  3. Add your application's redirect URI scheme to your Info.plist file, which will be in the format of msauth.[BUNDLE_ID]
  4. Add LSApplicationQueriesSchemes to allow making call to Microsoft Authenticator if installed.
  5. Add the provided code in your AppDelegate.m to handle MSAL callbacks. Make sure you #import <MSAL/MSAL.h>