Thursday, 1 December 2022

Azure AD SSO login from Flutter inappwebview gives error while doing it from a managed Device

I have made an inappwebview(Flutter) for Azure AD SSO for SAML login, it works perfectly for Okta but when we use Azure AD for authentication from a managed device it gives a error(53003) which tells the request is coming from an unmanaged Device in Intune MDM.

The SSO works perfectly while we are using a mobile browser chrome/Safari, which generates the certificate for the device. Like this image.SSO Image

But while using the same link in inappwebview, it gives a 53003 error.

So my question is how can I generate this certificate in inappwebview?

I have already tried using other Flutter WebView plugins but they don't succeed in getting the deviceId of the device while in transit of requests. With that, I have already tried using InAppWebBrowser, but it also didn't generate the certificate.

EDIT: Also, have tried using SFSafariViewController on iOS and Chrome Custom Tab on Chrome, but there I'm not able to get any event on UrlChange so redirecting to my app is an issue there.



from Azure AD SSO login from Flutter inappwebview gives error while doing it from a managed Device

No comments:

Post a Comment