# Failed to launch '\<URL\>' because the scheme does not have a registered handler on logout

**URL:** <https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 22, 2023, 7:25am UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996 "2023-02-22T07:25:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnthonyDaSilva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonydasilva/32/33385_2.png) [@AnthonyDaSilva](https://community.auth0.com/u/AnthonyDaSilva)\
**Post date:** [February 22, 2023, 7:25am UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/1 "2023-02-22T07:25:21Z")

</div>

Hi,

We have an auto-logout feature in our app and when trying to logout the user we have the following error:  
Failed to launch ‘URL’ because the scheme does not have a registered handler.  
‘org.reactjs.native.example.Atrium://finamic.eu.auth0.com/ios/org.reactjs.native.example.Atrium/callback’ because the scheme does not have a registered handler.

Here’s the code we use to logout the user:

```auto
           createAuth0Client({
                domain: domain,
                client_id: clientId,
                audience: audience,
                useRefreshTokens: true
              }).then(function(auth0) {
                auth0.logout({
                    url: window.location.origin //http://localhost:10000
                });
            });

```

Apologies, I didn’t found proper tags

---

<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:** [February 22, 2023, 1:47pm UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/2 "2023-02-22T13:47:37Z")

</div>

Hey there!

I know it’s a bit of a different language here but maybe that will do the job:

> [@Getting a error on integrating Auth0 on Ionic Angular](https://community.auth0.com/t/getting-a-error-on-integrating-auth0-on-ionic-angular/67051/3):
>
> 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

> <https://stackoverflow.com/questions/64797802/what-is-this-scheme-dont-have-a-registered-handler-error>

---

<div class="post-metadata">

**Author:** ![AnthonyDaSilva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonydasilva/32/33385_2.png) [@AnthonyDaSilva](https://community.auth0.com/u/AnthonyDaSilva)\
**Post date:** [February 24, 2023, 7:21am UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/3 "2023-02-24T07:21:19Z")

</div>

Thanks for your reply.

I still have the same issue, here’s what I have in Allowed Callback Url, Allowed Logout Url, and Allowed Web Origin :  
[http://localhost:10000](http://localhost:10000), [http://localhost:10000/front](http://localhost:10000/front), [http://localhost:10000/front/index.html](http://localhost:10000/front/index.html), org.reactjs.native.example.atrium://finamic.eu.auth0.com/ios/org.reactjs.native.example.Atrium/callback

I noticed we have the same issue when the user logs out manually.

---

<div class="post-metadata">

**Author:** ![AnthonyDaSilva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonydasilva/32/33385_2.png) [@AnthonyDaSilva](https://community.auth0.com/u/AnthonyDaSilva)\
**Post date:** [February 24, 2023, 3:49pm UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/4 "2023-02-24T15:49:43Z")

</div>

Issue solved, I was pointing to another Application which didn’t have the allowed logout url ^^

thanks 👍

---

<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:** [February 27, 2023, 8:53am UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/5 "2023-02-27T08:53:43Z")

</div>

Wohooo! Glad you have figured it out!

---

<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 13, 2023, 8:54am UTC](https://community.auth0.com/t/failed-to-launch-url-because-the-scheme-does-not-have-a-registered-handler-on-logout/100996/6 "2023-03-13T08:54:40Z")

</div>

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