# Getting a error on integrating Auth0 on Ionic Angular

**URL:** <https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051>\
**Category:** Get Help\
**Created:** [July 29, 2021, 4:50pm UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051 "2021-07-29T16:50:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirjhar18](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nirjhar18/32/30836_2.png) [@nirjhar18](https://community.auth0.com/u/nirjhar18)\
**Post date:** [July 29, 2021, 4:50pm UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/1 "2021-07-29T16:50:02Z")

</div>

I am following the article: [Auth0 Ionic & Capacitor (Angular) SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/ionic-angular#getting-started)

It only works for one time and when I click on Login again and I see a following console error

Failed to launch ‘io.ionic.starter://dev-pd26e01w.us.auth0.com/capacitor/io.ionic.starter/callback?code=0Test&state=ATest%3D%3D’ because the scheme does not have a registered handler.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![julian.martinez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/julian.martinez/32/27039_2.png) [@julian.martinez](https://community.auth0.com/u/julian.martinez)\
**Post date:** [August 14, 2021, 5:34pm UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/2 "2021-08-14T17:34:57Z")

</div>

Any solution? this example not working

---

<div class="post-metadata">

**Author:** ![nirjhar18](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nirjhar18/32/30836_2.png) [@nirjhar18](https://community.auth0.com/u/nirjhar18)\
**Post date:** [August 14, 2021, 6:08pm UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/3 "2021-08-14T18:08:13Z")

</div>

I believe I was testing this on web so if I test this on real device, it might work. If you want to integrate Auth0 on web, I followed a different example and it worked

---

<div class="post-metadata">

**Author:** ![support17](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/support17/32/13774_2.png) [@support17](https://community.auth0.com/u/support17)\
**Post date:** [October 21, 2021, 3:50am UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/4 "2021-10-21T03:50:12Z")

</div>

Do not follow the quick start guide. It will not work.  
Download the example from the quick start guide and follow it and it will work.

Also if you are using capacitor and testing on web, you need to add the localhost url with comma separated to allowed call back urls and allowed logout urls.

Example: Allowed Logout URL  
com.sample.app://XXXXXXXXXl.us.auth0.com/capacitor/com.sample.app/callback,  
[http://localhost:8100](http://localhost:8100)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 21, 2021, 8:57am UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/5 "2021-10-21T08:57:53Z")

</div>

Thanks for sharing that with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:01pm UTC](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/6 "2021-10-28T12:01:12Z")

</div>


