AzureAD / microsoft-authentication-library-for-android

Microsoft Authentication Library (MSAL) for Android
http://aka.ms/aadv2
MIT License
216 stars 124 forks source link

Chrome Custom Tabs and broker interoperability #628

Closed dcale closed 5 years ago

dcale commented 5 years ago

I'm trying to get your sample app to work with MS Authenticator as broker. For my use case I require Chrome Custom Tabs, since nothing is happening when I click on the "Call Microsoft Graph" (and it was working before adding broker_redirect_uri_registered true). So I have two questions:

  1. is the combination Chrome Custom Tabs and SSO for e.g. MS Office Apps using MS Authenticator as Broker compatible at all?
  2. if yes, how can you enable broker support with MSAL?
iambmelt commented 5 years ago

In our current pre-release, MSAL does not support broker. This functionality is on the way; we'll be publishing a roadmap to our Wiki soon to give the broader community a sense of what's on the way.

Chrome CustomTabs or a WebView can be used by MSAL in standalone mode (ie without broker).

When broker support is released, it will use a WebView to handle all interactive auth. For now, there are no plans to transition away from this as CustomTabs doesn't have the fine-grained APIs necessary to satisfy many of our Conditional Access scenarios