Closed nharrer closed 4 years ago
@davidpatrick can you pair with @Widcket on this. Should give enough perspective on both sides. Thanks
I have similar problem but in on the log in. Only on iOS after some days of use the auth0 login page not load and only the white page is showed. If i delete and re-install the app work.
I have a similar problem. Login works, logout doesn't work for android or ios for me. I was able to get android to work by doing something like this
if (result.event === 'loaded') {
console.log('loaded');
this.zone.run(() => {
this.safariViewController.hide();
});
}
if (result.event === 'closed') {
console.log('Closed');
this.zone.run(() => {
this.router.navigateByUrl('/auth/login');
});
}
`
I ran this example on ios without modifications after downloading it from my project's quickstart section (auth.config.ts was already created correctly by quickstart).
I have following global npm packages installed:
The device is ios 13.3. Xcode Version 11.3
The whole example runs flawlessly. Only when doing a logout the WebView stays open:
The exact same example logs out ok on android. So I think I have the callback urls etc. configured correctly.
I have connected safari in debug mode. I see the "Opened" and "Loaded" message from the safariViewController callbacks in the console. But not the "Closed". No other errors or warnings either. When I check the user's history on auth0's manage page, I can see that the logout was performed. Only the WebView didn't close.