Display Azure AD B2C Sign In Android Emulator

ⅰ亾dé卋堺 提交于 2020-01-25 06:55:07

问题


I'm testing using Azure AD B2C with Xamarin.Forms, specifically with the sample found here: https://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/webservices-azureadb2cauth/

The code seems to working fine. All is working with UWP as expected. Haven't tested IOS yet.

On my Android Emulator, when I click the Login button, the Chrome window opens and I get a blank page.

The Debug window shows the following:

[ERROR:gl_surface_egl.cc(335)] eglChooseConfig failed with error EGL_SUCCESS 10-13 21:25:37.024 D/ ( 3450): HostConnection::get() New Host Connection established 0xca5fe1c0, tid 3450 10-13 21:25:37.024 E/chromium( 3450): [ERROR:gl_surface_egl.cc(335)] eglChooseConfig failed with error EGL_SUCCESS

I've also seen this: 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=file permissive=0

I have tried the steps shown here with two different versions of Chrome: https://github.com/AzureAD/microsoft-authentication-library-for-android/wiki/Android-Emulator-with-MSAL

Any help appreciated.

Thanks, Westley

来源:https://stackoverflow.com/questions/58369534/display-azure-ad-b2c-sign-in-android-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!