android - 在 Android 模拟器中显示 Azure AD B2C 登录
问题描述
我正在使用带有 Xamarin.Forms 的 Azure AD B2C 进行测试,特别是在此处找到的示例: https ://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/webservices-azureadb2cauth/
该代码似乎工作正常。一切都按预期使用 UWP。IOS还没测试。
在我的 Android 模拟器上,当我单击登录按钮时,Chrome 窗口打开并且我得到一个空白页面。
调试窗口显示以下内容:
[错误:gl_surface_egl.cc(335)] eglChooseConfig 因错误 EGL_SUCCESS 10-13 21:25:37.024 D/ (3450) 失败:HostConnection::get() 新主机连接已建立 0xca5fe1c0,tid 3450 10-13 21:25: 37.024 E/铬(3450):[错误:gl_surface_egl.cc(335)] eglChooseConfig 因错误 EGL_SUCCESS 而失败
我也看到了:10-13 20:22:55.071 W/com.dandaappdevelopment.shiplog(2977): type=1400 audit(0.0:953):avc: denied { link } for comm=54687265616420506F6F6C20576F72 name="PropertyStore .forms.tmp" dev="dm-1" ino=123775 scontext=u:r:untrusted_app:s0:c88,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c88,c256,c512,c768 tclass =文件允许=0
我已经使用两个不同版本的 Chrome 尝试了此处显示的步骤: https ://github.com/AzureAD/microsoft-authentication-library-for-android/wiki/Android-Emulator-with-MSAL
任何帮助表示赞赏。
谢谢,韦斯特利
解决方案
推荐阅读
- openmdao - 使用带有 OpenMDAO 的 pyoptsparse 驱动程序访问 NSGA2 种群大小
- reactjs - 在 jsx 中导出后访问对象数组
- c++ - 将数据存储到静态字符串中?我收到一个错误:LNK2001 无法解析的外部符号
- php - 为什么不能从另一个 php 页面访问 COOKIES?
- git - 如何继续删除子模块,但保留其历史记录(与父历史记录链接)?
- node.js - 是否需要本地主机上的 MongoDB SSL?
- python - Python中的比较箱线图
- javascript - 将字符串转换为数字而不丢失前导零
- vim - 如何调试按 'o' 冻结 Vim
- c# - 尝试在使用 openXML 生成 word 文档时合并表格单元格