[iOS] Invalid address error in safari while opening browser with OKTA redirect uri

We are using Okta to login in our xamarin forms mobile application. To authenticate the user, our app uses Xamarin.openId.appauth.ios(0.92.0) and xamarin.openId.appauth.android package and login the user. Now, the issue is only in iOS with redirect uri in safai browser.

PFB information about the logout implementation. In below method, Brwoser.openAsync method supposed to open browser with URL but it does not.

void NavigateToLogout()
{
var authService = DependencyService.Get();
Device.BeginInvokeOnMainThread(async()=>{
var logoutUrl = authService.GetOktaLogoutUrl(Application.Current.Properties[ApplicationProperties.IdToken].ToString());
await Browser.OpenAsync(logoutUrl, BrowserLaunchMode.SystemPreferred);
});
App.IsLoggedIn = false;
var loginProvider = DependencyService.Get();
loginProvider.DeleteAllCookies();
App.Current.MainPage = new NavigationPage(new LoginPage());
}

image

Logout URL :

https://parkplacetech.oktapreview.com/oauth2/ausdfzm97d0rm0DZc0h7/v1/logout?id_token_hint=eyJraWQiOiI5bU5hZ3pwX3J6akhzOHduY0dYQW9FSVNNMlAzbXBQUGprc2RieDBIbkFzIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwMHUxNnB2eXB4N2g4UjlCcjBoOCIsInZlciI6MSwiaXNzIjoiaHR0cHM6Ly9wYXJrcGx%E2%80%A6

Is there any specific check need to add in iOS platform to open browser.

Thanks,
Priya