Hi I just seen this error in our app ,
ERROR
Web page not Available
The web page at https://adfs.srm.com/adfs/ls/wia?client-request-id=##########
Could not be loaded because : net::ERR_HTTP_RESPONSE_CODE_FAILURE
Normally the user enter their email account, then it gets taken to another "Taking you to your organisation's sign-in page" then screen to enter the password .
Since 2 weeks ago they get the error (1st image), after the "Taking you to your organisation's sign-in page" is loading . As far as I know this was working 2 or 3 weeks ago.
I cannot find any information regarding this error , any ideas ?
Authentication method
var builder = PublicClientApplicationBuilder.Create(AppConstants.AadClientId)
.WithIosKeychainSecurityGroup(AppConstants.AppId)
.WithRedirectUri(RedirectUri)
.WithLogging(Log, LogLevel.Verbose, enablePiiLogging: true, enableDefaultPlatformLogging: false)
.WithAuthority(AzureCloudInstance.AzurePublic , AppConstants.TenantId);
try
{
var accounts = await _pca.GetAccountsAsync();
var firstAccount = accounts.FirstOrDefault();
var authResult = await _pca.AcquireTokenSilent(Scopes, firstAccount).ExecuteAsync();
// Store the access token securely for later use.
}
catch (MsalUiRequiredException)
{
try
{
// This means we need to login again through the MSAL window.
//this is where it hangs and I don't see any error or response
var authResult = await _pca.AcquireTokenInteractive(Scopes)
.WithUseEmbeddedWebView(true)
.ExecuteAsync();
// Store the access token securely for later use.
}
ADFS server is working fine for other browsers applications.