# Auh0 callback not working, results in net::ERR\_UNKNOWN\_URL\_SCHEME

**URL:** <https://community.auth0.com/t/auh0-callback-not-working-results-in-net-err-unknown-url-scheme/81839>\
**Category:** Get Help\
**Created:** [April 15, 2022, 3:45pm UTC](https://community.auth0.com/t/auh0-callback-not-working-results-in-net-err-unknown-url-scheme/81839 "2022-04-15T15:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjarrard](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rjarrard/32/33305_2.png) [@rjarrard](https://community.auth0.com/u/rjarrard)\
**Post date:** [April 15, 2022, 3:45pm UTC](https://community.auth0.com/t/auh0-callback-not-working-results-in-net-err-unknown-url-scheme/81839/1 "2022-04-15T15:45:35Z")

</div>

I have an existing Ionic application with Angular and Cordova. We have the app released to production for years. Lately we get the error “Webpage not available… net::ERR\_UNKNOWN\_URL\_SCHEME”. The scheme is of course our package id (com.our.package.id).

It is not a configuration error, as it works on most phones. But our latest release was rejected by Google due to the above error. After some looking around, I find that it works on a Samsung s20, but not a Pixel 4. I’m assuming Google is testing with the Pixel. What would be the difference with the two phones? They are both running Android and Chrome.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 15, 2022, 11:12pm UTC](https://community.auth0.com/t/auh0-callback-not-working-results-in-net-err-unknown-url-scheme/81839/3 "2022-04-15T23:12:10Z")

</div>

Hi there @rjarrard welcome to the community!

When exactly does this error crop up for you? I see quite a bit of chatter around this in various places online, but your case is a bit unique in that it is working one one device and not another. Are both devices running the same version of Chrome, Android, etc.?

I did come across the following [Github Issue](https://github.com/auth0/auth0-cordova/issues/180) which may be worth looking into - It looks like there is a PR currently open to address this.

> <https://github.com/auth0/auth0-cordova/issues/180>
>
> \# Bug Report
> 
> \## Problem
> 
> Use auth0 in Ionic cordova app, and when user sign… in to app successfully cannot redirect to app because net: ERR\_UNKNOWN\_URL\_SCHEME error. targetSdkVersion 29 was worked, but when upgrade to 30 get this error on Android 11 platform, but works on Android 10.
> 
> \### What is expected to happen?
> 
> Successfully redirect to app on Android 11
> 
> 
> \### What does actually happen?
> 
> Get net: ERR\_UNKNOWN\_URL\_SCHEME error.
> 
> \## Information
> 
> 
> 
> 
> \### Command or Code
> 
> Auth0 integration
> 
> 
> \### Environment, Platform, Device
> 
> Android 11
> 
> 
> 
> \### Version information
> 
> Cordova CLI: 10.0.0
> Cordova platform: Cordova-Android 10.1.1
> Frameworks: Ionic 5 with Angular 12.1.0
> 
> 
> 
> \## Checklist
> 
> \- \[x\] I searched for existing GitHub issues
> \- \[x\] I updated all Cordova tooling to most recent version
> \- \[x\] I included all the necessary information above

Keep us posted!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 30, 2022, 11:12pm UTC](https://community.auth0.com/t/auh0-callback-not-working-results-in-net-err-unknown-url-scheme/81839/4 "2022-04-30T23:12:21Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
