Ionic Angular authentication with EntraID (Azure) in Android app?

Hello.

I've correctly set up my Android app in the Azure portal, but I still get the error: Navigation not possible: msauth://[……] is not reachable. What else do I need to configure? Is there documentation for this somewhere? I can't find anything :/

I use MSAL.

Thanks 🙂

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
JustCuteGames
10 months ago

Here are tips that can help you:

Redirect-URI configuration:

Make sure you have configured the correct Redirect URL on your Azure portal. For Android apps should be the format.

  • msauth:///
  • Example:
  • msauth://com.example.myapp/

    Check whether the redirect URL URL is correctly entered in the app registration under “Redirect URIs”.

Generate signature hash:

  • The signature hash is generated from the SHA-1 fingerprint of the certificate of your app. To get the SHA-1 fingerprint, use the following command in the console:
keytool -list -v -keystore  -alias  -storepass 
  • Copy the SHA-1 fingerprint and convert it to Base64.

AndroidManifest.xml customize:

AndroidManifest.xml

xml
Code kopieren

    
        
        
        
        
    

MSAL configuration:

  • Make sure the file is correctly configured.
  • msal_config.json

Links:

If you still have problems, it might be helpful to have your app registration and

AndroidManifest.xml

to check again or consult the official Microsoft forums and GitHub isue trackers.