0

I want to login with office 365 in my mobile app(nativescript+angular). How to configure Azure Active Directory. What will be Redirect URL?

2 Answers2

0

Please referred to this document: Add redirect URI(s) to your application.

For public applications, provide the URI used by Azure AD to return token responses. Enter a value specific to your application, for example: https://MyFirstApp.

Make sure that it matches with the URL customized in your project.

Allen Wu
  • 15,529
  • 1
  • 9
  • 20
0

Not sure what's the native script. If you're using ADAL, please follow below:

It's determined by your application on different platforms.

On iOS, it's with the Bundle Id of your app:

App Redirect URI: x-msauth-mytestiosapp://com.myapp.mytestapp

See more details here:https://github.com/AzureAD/azure-activedirectory-library-for-objc/wiki/sso

On Android, it's with the certificate fingerprint of your app in the Google play store:

msauth://packagename/Base64UrlEncodedSignature(Cert fingerprint

For example, msauth://com.example.userapp/IcB5PxIyvbLkbFVtBI%2FitkW%2Fejk%3D

See more details here: https://github.com/AzureAD/azure-activedirectory-library-for-android/wiki/sso


If you're using ADAL.js, you can just use your applications's URL.

Wayne Yang
  • 9,016
  • 2
  • 20
  • 40