我使用此项目通过使用 Microsoft Azure 配置单点登录 .

Github- MSAL

我替换了mainifest文件中的key,并更新了Constaints.java .

这个问题是当我点击 CALL API 时,它会将我带到微软帐户页面,并且不会显示自定义页面,该页面包含Facebook,Google和Microsoft帐户链接 .

在示例项目中, Authority 变量具有以下URL;

final static String AUTHORITY =“https://login.microsoftonline.com/tfp/%s/%s”;

我用这个更新了它;

final static String AUTHORITY =“https://login.microsoftonline.com/common/oauth2/nativeclient”;

从控制台我无法找到示例应用程序中定义的url模式 .

我想如果我得到正确的 Authority URL ,我将能够得到正确的页面 .

  • 编辑*如果我不更改权限,它会给我以下错误消息屏幕 .

enter image description here