【问题标题】:Azure Authentication Microsoft GraphAzure 身份验证 Microsoft Graph
【发布时间】:2020-09-28 11:12:19
【问题描述】:

我正在为 android 应用程序使用 azure 身份验证。一切正常。跟随本教程:https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-android 我只想问,我们有没有可能为这个 webView 设置高度或在 webView 上添加任何视图?我只需要使用其中之一即可完成。

配置文件:

 {
   "client_id": "client_id",
   "authorization_user_agent": "WEBVIEW",
   "redirect_uri": "redirect_url",
   "account_mode": "SINGLE",
   "authorities": [
    {
      "type": "AAD",
      "audience": {
       "type": "AzureADMyOrg",
       "tenant_id": "my_tenant_id"
    }
  }
 ]
}

谢谢,

【问题讨论】:

  • 嗨@Saad,您要在代码中的哪个页面设置高度?请分享您是如何实施的?
  • @HariKrishna--MSFTIdentity 我想为似乎要求提供凭据或拥有自己的自定义 Web 视图的 webView 设置高度。我已经搜索到,Microsoft 不允许出于安全目的进行此类自定义。
  • 嗨@saad,请检查我的回答,如果您需要任何帮助,请告诉我。

标签: android azure kotlin azure-active-directory microsoft-graph-api


【解决方案1】:
  1. 因为这个页面是由 MSAL/ADAL 插件生成的 我相信它 无法实现。
  2. 我们可以对 Azure AD 登录页面实施的更改仅限于 adding Branding 并且无法配置暗模式 用于 MSAL/ADAL Web 视图,因为此页面由 MSAL/ADAL 生成 插件。

【讨论】:

    猜你喜欢
    • 2021-03-31
    • 2022-08-23
    • 2017-09-20
    • 2018-12-02
    • 1970-01-01
    • 1970-01-01
    • 2017-11-26
    • 1970-01-01
    • 2021-09-14
    相关资源
    最近更新 更多