在Android中点击内部API时从INTUNE获取HTML URL

问题描述

我已将Intune MSAL集成到我的应用程序中,该应用程序在INTUNE上运行,但是每次我尝试访问服务器的内部API时,我都会得到以下响应:

                                                     //HERE
const UI = ({ state,productCategories,setCategory,displayCategory,products }) => {
  return (
    <div className="Box flex-row">
      <div className="Box flex-col">
        <h3>Filter by Category</h3>
        {ButtonCategories(productCategories,setCategory)}
      </div>
      <div className="Box flex-col">
        <h3>Results</h3>
                       // HERE
        <ProductItems displayCategory={displayCategory} state={state} products={products} />
      </div>
    </div>
  );
};

也收到此错误

<!-- copyright (C) Microsoft Corporation. All rights reserved. -->
<!DOCTYPE html>
<html dir="ltr" class="" lang="en">
<head>
    <title>Sign in to your account</title>
    <Meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <Meta http-equiv="X-UA-Compatible" content="IE=edge">
    <Meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=2.0,user-scalable=yes">
    <Meta http-equiv="Pragma" content="no-cache">
    <Meta http-equiv="Expires" content="-1">
    <link rel="preconnect" href="https://aadcdn.msauth.net" crossorigin>
<Meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="//aadcdn.msauth.net">
<link rel="dns-prefetch" href="//aadcdn.msftauth.net">

    <Meta name="PageID" content="ConvergedSignIn" />
    <Meta name="SiteID" content="" />
    <Meta name="ReqLC" content="1033" />
    <Meta name="LocLC" content="en-US" />

        <Meta name="referrer" content="origin" />

    <noscript>
        <Meta http-equiv="Refresh" content="0; URL=https://login.microsoftonline.com/jsdisabled" />
    </noscript>

    
    
<Meta name="robots" content="none" />

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)