Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49362

Azure AD Redirect URI Issue for iOS with Ionic: AADSTS50011 Error

$
0
0

Hi,

I have an SSO app registered in Azure AD. The ionic-angular app works correctly on Android and desktop web platforms. However, I encounter an error when using the iOS app:

AADSTS50011: The redirect URI ionic://localhost/ specified in the request does not match the redirect URIs configured for the application.

This issue is specific to iOS. The redirect URI used is ionic://localhost/ (or capacitor://localhost when using Capacitor), as described in the Ionic documentation.

Unfortunately, Azure AD does not allow registering ionic://localhost/ as a valid redirect URI, since it only accepts URIs that begin with https:// or http://localhost. Redirect URI (reply URL) best practices and limitations - Microsoft identity platform | Microsoft Learn

Is there any supported way to change ionic://localhost or capacitor://localhost to use http://localhost on iOS?

Thank you!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49362

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>