# Auth0 Cordova Debugging Help

**URL:** <https://community.auth0.com/t/auth0-cordova-debugging-help/6920>\
**Category:** Get Help\
**Tags:** cordova, auth0\
**Created:** [June 6, 2017, 5:11am UTC](https://community.auth0.com/t/auth0-cordova-debugging-help/6920 "2017-06-06T05:11:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brianra/32/11261_2.png) [@brianra](https://community.auth0.com/u/brianra)\
**Post date:** [June 6, 2017, 5:11am UTC](https://community.auth0.com/t/auth0-cordova-debugging-help/6920/1 "2017-06-06T05:11:01Z")

</div>

I have an existing app and am updating it to use the latest Auth0 Cordova plugin. I’m following [the latest quickstart](https://auth0.com/docs/quickstart/native/ionic2/01-login). My app does redirect to the hosted login page, and when I log in I do hit the `Auth0Cordova.onRedirectUri(url);` method (hooked in from `handleOpenURL`. The redirect URL seems valid in that it contains code/state data. Unfortunately the app does nothing once `onRedirectUri()` is called. What can I do to troubleshoot why nothing happens from this call?

---

<div class="post-metadata">

**Author:** ![Abhishek\_Hingnikar1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Abhishek\_Hingnikar1](https://community.auth0.com/u/Abhishek_Hingnikar1)\
**Post date:** [June 6, 2017, 9:01am UTC](https://community.auth0.com/t/auth0-cordova-debugging-help/6920/2 "2017-06-06T09:01:23Z")

</div>

Can you attach a remote debugger (Chroem/ Safari) and check for network errors?

---

<div class="post-metadata">

**Author:** ![brianra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brianra/32/11261_2.png) [@brianra](https://community.auth0.com/u/brianra)\
**Post date:** [June 6, 2017, 7:31pm UTC](https://community.auth0.com/t/auth0-cordova-debugging-help/6920/3 "2017-06-06T19:31:37Z")

</div>

I got this figured out. I was importing @auth0/cordova like all of my other typescript imports:

```
import { Auth0Cordova } from '@auth0/cordova';

```

This didn’t properly import, so it was trying to call onRedirectUri on an undefined object. Changing it to below (same as the quickstart) fixed this for me. Just had to ditch the curly brackets.

```
import Auth0Cordova from '@auth0/cordova';

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/auth0-cordova-debugging-help/6920/4 "2018-03-02T05:54:24Z")

</div>


