auth0-samples / auth0-xamarin-oidc-samples

Auth0 OIDC Client with Xamarin applications
MIT License
30 stars 38 forks source link

Login callback fails - browser opens, flashes auth0 login page, closes, nothing happens. #39

Closed estiframe closed 3 years ago

estiframe commented 3 years ago

Issue Report

Description

auth0 client sends login request async, browser fires off, opens up, flashes auth0 login, then goes blank.

What are you reporting?

Expected behaviour

App should open browser link, user completes login, result is returned back to app after callback.

Actual behaviour

_auth0Client.LoginAsync(); is executed, browser link opens, page loads auth0 login for less than one second, then page goes blank.

Steps to reproduce the problem

Run the sample app then click the "Log In" button.

Language / Framework Versions

  1. Language used: c#
  2. Framework used: Xamarin Forms / Android

Testing environment

  1. Operating system: Windows 10 professional / Android Emulator
  2. Browser version: Chrome

Screenshots

Video: https://recordit.co/kmCs5zW1xO

Teamwork makes the dreamwork πŸ€œπŸΌπŸ€›πŸ»**

estiframe commented 3 years ago

Sorry everyone. The problem was me. I had customized my auth0 login page at some point in the past and forgot I had done that. Meanwhile, a url to the logo had changed and it was causing auth0 login to crash. I turned off customization and all is good now.

image