Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logout & login again fails and get empty/hided browser #19

Open
biemond opened this issue May 22, 2017 · 1 comment
Open

logout & login again fails and get empty/hided browser #19

biemond opened this issue May 22, 2017 · 1 comment

Comments

@biemond
Copy link

biemond commented May 22, 2017

hi,

Great work and it works with lazy loading etc
But I have some issues when I log out and try to log in again.

On IOS I get a browser windows with no url and on android I get the front screen again. I cannot log in again. I have the reset the data on android & ios emulate.

I don't know if this is a problem with this example or with Auth0Cordova

Also I have to import Auth0Cordova and Auth0 like this else they are not imported or load them in the index.html from cdn

import * as Auth0Cordova from '@auth0/cordova';
import * as Auth0 from 'auth0-js';

Thanks Edwin

@biemond
Copy link
Author

biemond commented May 30, 2017

Nice this works for me

  (<any>window).handleOpenURL = (url) => {
    (<any>window).setTimeout(function () {
      Auth0Cordova.onRedirectUri(url);
    }, 100);
  };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant