Getting a scheme not valid error
luis-cortina opened this issue · 3 comments
luis-cortina commented
@GioviQ including you here according to the ReadMe on the Xamarin Forms example.
Your example was working ok until installing iOS 14.5, is throwing the following error:
If I run your example it works fine, any idea where to look here?
Luis
GioviQ commented
I am not working on this repository. Sorry.
leastprivilege commented
MarkusHorstmann commented
It appears that the fix (or at least a workaround) is https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/blob/main/XamarinForms/XamarinFormsClient/XamarinFormsClient.iOS/ASWebAuthenticationSessionBrowser.cs, line 29:
options.EndUrl,
=> new NSUrl(options.EndUrl).Scheme,