# Disable Auth0 plugin

**URL:** https://meta.discourse.org/t/disable-auth0-plugin/23611
**Category:** Support
**Created:** [January 2, 2015, 4:18pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611 "2015-01-02T16:18:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [January 2, 2015, 4:18pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/1 "2015-01-02T16:18:19Z")

</div>

I have enabled the Auth0 plugin, however I entered in the return url incorrectly or something now I cannot login to the site anymore. I am using a docker setup and so far I have tried the following:

- commented out the git clone from the hooks section in app.yml

- removed the following lines under the run section in the app.yml:

When I hit the login button now, it still tries to redirect with sso in the query string and no login dialogue comes up.

---

<div class="post-metadata">

### Author: ![trident](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trident/32/2078_2.png) [@trident](https://meta.discourse.org/u/trident)
#### Post date: [January 2, 2015, 5:29pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/2 "2015-01-02T17:29:07Z")

</div>

Have you tried running `./launcher rebuild app` after making these changes to the `app.yml` file?

---

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [January 2, 2015, 5:39pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/3 "2015-01-02T17:39:19Z")

</div>

Yes. That seems to disable the auth0 window from coming up, however the sso redirect still happens. Does anyone know where the auth0 settings are stored? Maybe I can just edit them manually to fix the problem.

---

<div class="post-metadata">

### Author: ![trident](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trident/32/2078_2.png) [@trident](https://meta.discourse.org/u/trident)
#### Post date: [January 2, 2015, 5:44pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/4 "2015-01-02T17:44:52Z")

</div>

Did you enable the site setting `enable_sso`? I don’t think you would have had to to enable this plugin, but if you did here is the process for disabling it.

[https://meta.discourse.org/t/disable-sso-while-not-signed-in/18770/5?u=trident](https://meta.discourse.org/t/disable-sso-while-not-signed-in/18770/5)

---

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [January 2, 2015, 5:50pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/5 "2015-01-02T17:50:11Z")

</div>

Tried that and still no dice

---

<div class="post-metadata">

### Author: ![trident](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trident/32/2078_2.png) [@trident](https://meta.discourse.org/u/trident)
#### Post date: [January 2, 2015, 5:54pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/6 "2015-01-02T17:54:59Z")

</div>

You may be able to access their site setting via the same method (if it’s still active somehow):

```plaintext
rails c
SiteSetting.auth0_callback_url = ''
# or others from their documentation
exit

```

It may be worth trying to set the ‘connection’ setting to force the default login window to return. Their setting strings are pictured here:

[https://github.com/auth0/discourse-plugin#installation](https://github.com/auth0/discourse-plugin#installation)

---

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [January 2, 2015, 8:51pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/7 "2015-01-02T20:51:08Z")

</div>

This was a huge help and now I am a bit closer. Now when trying to authenticate, I am getting the following error:

Sorry, there was an error authorizing your Auth0 account. Perhaps you did not approve authorization?

---

<div class="post-metadata">

### Author: ![trident](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trident/32/2078_2.png) [@trident](https://meta.discourse.org/u/trident)
#### Post date: [January 2, 2015, 9:19pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/8 "2015-01-02T21:19:20Z")

</div>

Can you register a new account? Then you could promote it to admin from the console and investigate further. If you can not, try editing all the settings there and setting them to `''`.

---

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [January 2, 2015, 11:16pm UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/9 "2015-01-02T23:16:57Z")

</div>

I can’t get into admin mode because I either cannot get Auth0 to work with the site or I cannot disable it for some reason. Right now I am stuck with the following error when logging in:

Sorry, there was an error authorizing your Auth0 account. Perhaps you did not approve authorization?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 28, 2018, 5:38am UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/10 "2018-08-28T05:38:59Z")

</div>



---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [August 28, 2018, 5:41am UTC](https://meta.discourse.org/t/disable-auth0-plugin/23611/11 "2018-08-28T05:41:47Z")

</div>


