oktadev / okta-appauth-xamarin-example

Xamarin.Forms authentication with OpenID Connect and Okta
10 stars 6 forks source link

Login fails with error when debugging on Android Phone #2

Open Steven-FlexTechs opened 6 years ago

Steven-FlexTechs commented 6 years ago

Immediately after clicking "Login" the error message appears and nothing else happens. It allows me to keep clicking Logic and keep seeing this error.

screenshot_20180604-124412

I followed the readme instructions. I have no idea how to debug or fix this issue.

Any help would be greatly appreciated.

aamirrideo commented 6 years ago

Did you guys implement the Logout feature in IOS, i am struggling to clear the cookies. Even if i delete the cookies ,browser somehow persists the data and the user is logged in again.

Any inputs would really be helpful.

Steven-FlexTechs commented 6 years ago

@aamirrideo I did not, sorry. I stopped at failing to login on Android.

nbarbettini commented 6 years ago

@Steven-FlexTechs The error occurs before the browser pops up, right?

IIRC, I had some trouble with this when I tested in Xamarin Live Player, but the Android emulator worked fine.

Steven-FlexTechs commented 6 years ago

@nbarbettini Yes, as soon as I click the Login button on that page. Nothing else opens.

I tried the same thing on another computer and it worked that time. This problem seems to be related to Xamarin's environment on my computer.